-
Notifications
You must be signed in to change notification settings - Fork 44
/
.travis.yml
26 lines (26 loc) · 1.19 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
language: go
go:
- 1.9.x
before_script:
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
script:
- dep ensure
- go test ./...
before_deploy:
- sudo apt-get install ruby ruby-dev build-essential rpm
- gem install --no-ri --no-rdoc fpm
- make build VERSION=`echo ${TRAVIS_TAG//v/}`
deploy:
provider: releases
api-key:
secure: "IsRXeSnyLrj2wc5SeCKMtlKZ+IcHoCkQnAd9aA5dB2n0tEux1Ixy2B48iGvGnEpViaPK+fyyZooumhVdq7xM+zofHdetWtngi8X49CprTAG4jgnbclEO9f45G0DA3nZFw/SJVhmssGqLUoPYOaN2h3dEKC9aylEoou0H8WAo3lRXPy0Rt+yleTDz+/9zTqiqTEOUxL1LQONYcE9VSVM1Lb85pzLYafIhqmys5UgwA7B9/zebdv9kFduy1iAQhGxJFVBk3tSvWMv3Ped+iMVC8h+VLpEywaLGwEw+1JhpYVzqFzBqEkzzPsLwo0HPOK7JWRT9QPSa4xbd8hu3wc5HdhN87qM6NsXhkbeVvksMqaUYJja/k+V705cgkuVOUskHwaEyi3o1WxpTTLRxfppm6zl6A4byIq6YyceoPz8Nzp12Lc3QWCj0d31iZgxGJwtXg/7Waj1ErVe3mXk6HICSc0jaa0nLLI90Gk0lr2NPFlprNCfatXFu/K2zqpekmJho//QU8/fbIlhje0I94Nm/+TWViuEqMP8fAS7DRHCPIlkJ9pNGFxOJdhCD25iUzVhWEq0lkh8beNDeHXpI6rsBXduyQHup8SmJWLP0b4QOiF46eo3zMF3ToVF+y21SFMXKDfwKw0fVxOQiQr/pPwZO9oKrZRtIOu6T8vflo/enq7o="
file_glob: true
file: build/*
skip_cleanup: true
on:
tags: true
condition: $TRAVIS_TAG =~ ^v[0-9]+.[0-9]+.[0-9]+
# whitelist
branches:
only:
- master