diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..1ba1993 --- /dev/null +++ b/.travis.yml | |||
@@ -0,0 +1,26 @@ | |||
1 | dist: trusty | ||
2 | sudo: false | ||
3 | language: go | ||
4 | go: | ||
5 | - 1.8.1 | ||
6 | |||
7 | install: | ||
8 | # This script is used by the Travis build to install a cookie for | ||
9 | # go.googlesource.com so rate limits are higher when using `go get` to fetch | ||
10 | # packages that live there. | ||
11 | # See: https://github.com/golang/go/issues/12933 | ||
12 | - bash scripts/gogetcookie.sh | ||
13 | - go get github.com/kardianos/govendor | ||
14 | |||
15 | script: | ||
16 | - make test | ||
17 | - make vendor-status | ||
18 | - make vet | ||
19 | |||
20 | branches: | ||
21 | only: | ||
22 | - master | ||
23 | matrix: | ||
24 | fast_finish: true | ||
25 | allow_failures: | ||
26 | - go: tip | ||