-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (38 loc) · 2.76 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
language: go
sudo: required
dist: trusty
go:
- 1.9.x
- 1.10.x
- master
- tip
matrix:
fast_finish: true
allow_failures:
- go: 1.9.x
- go: master
- go: tip
cache: apt
env:
global:
- COMMIT=${TRAVIS_COMMIT::8}
- secure: LYrCjqJMbDWJ36C/gMO9yaTIZMnl7dKSJRcbUGT9JO/428bCpgG+iQMGmzQF9ur/VB27/lPA9swYrB5nuA0cPpXzBfhZH+1FhAxmQl2W+3vyRZPmkr+/lSKFCeBqqWI2recN5hHSsRTNBsd5lcWL6swll+pHyoTxT7l/pT8qE0ulBHLjNqXbPCuYlQgLPtITHUcvL6YiF4N4DZx6pCP4G67p/zVgFh/wUsIfQKE6fSQbk98V71Z4DAJ+N2l3RZy6MplD4PJOMe2IgogYYRILYFn7ce2cMkwiEywfBdwscErlJE8umt5gVl6alcfhPFO9CQ5Xf48KiuIgvWj8ZoF0d4UgS/WKmynppAJMWV7gqPC7Z0FweqNSt6nk2iaqgbkDaa0Co8vuqIRd7QDxyI1UWXW7YZ6NA0dAF7acp6PFzX74ZVaDloNrT4ymvVY4jnNeGoqqYW3cONBHbvqU6iUyOfWNw3BvhDPunJsihvpPdNrOYXvljE/nsnes9goeODB/eh9Upw7GnH14tGVdIiRYf+9xPQcEStqoCKZAJ8fIVNyzmxpteZFMU6MbNYWFcuvg67A2PSix1ZLwyWwjPCwqj021r4C8akNyqA+2laFuoM/09F0QliJO1Mzx1uEln4dikxOPAHDsnEKP5C8Z7o4uhNCQNrRDX9Q5M1bXDiUG8jM= #DOCKER_EMAIL
- secure: ZzTRcuo/h7w1GkXNqSja8S3qPrxttHvAffFoWazViwdQF23EeR7h/xga2WkGegZ3jcnu8MbI1+3d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r3b+7169pwUBJycAunPxK/avAWjzATxVMTAD7zD+De4n3piHb/gfUVLBdLIRcXQLbop4+JTw4CWofNDLuIJieZo6msuAGADnRSQNcolgon5FsGIL50Whd3TVehmYIN+AvIBNmbeSB4XpIOoY30Rl6qMTVQSc46WvKfza9p1kBq4Xu1nPYRbCR0+vPP5kfWnEbrCSUuiuzPBKzmhaukIdD9Q= #DOCKER_PASS
install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- go get github.com/golang/dep/cmd/dep
before_script:
- dep ensure
script:
- make cover
after_success:
- goveralls -coverprofile=coverage.out -service=travis-ci
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
deploy:
- provider: script
script: scripts/deploy.sh $TRAVIS_TAG
on:
tags: true
branch: master