]> git.immae.eu Git - github/fretlink/terraform-provider-mailgun.git/blob - .travis.yml
cache gopath in travis
[github/fretlink/terraform-provider-mailgun.git] / .travis.yml
1 dist: trusty
2 sudo: required
3 services:
4 - docker
5 language: go
6 go:
7 - "1.12.x"
8
9 install:
10 # This script is used by the Travis build to install a cookie for
11 # go.googlesource.com so rate limits are higher when using `go get` to fetch
12 # packages that live there.
13 # See: https://github.com/golang/go/issues/12933
14 - bash scripts/gogetcookie.sh
15
16 script:
17 - make test
18 - make vet
19 - make website-test
20
21 matrix:
22 fast_finish: true
23 allow_failures:
24 - go: tip
25
26 cache:
27 directories:
28 - $GOPATH/src
29 - $HOME/.cache/go-build
30 - $HOME/gopath/pkg/mod
31
32 env:
33 GO111MODULE=on