]> git.immae.eu Git - github/fretlink/terraform-provider-mailgun.git/blame - .travis.yml
cache gopath in travis
[github/fretlink/terraform-provider-mailgun.git] / .travis.yml
CommitLineData
7c735cfa
AG
1dist: trusty
2sudo: required
3services:
4- docker
5language: go
6go:
7 - "1.12.x"
8
9install:
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
16script:
17- make test
18- make vet
19- make website-test
20
21matrix:
22 fast_finish: true
23 allow_failures:
24 - go: tip
12576b10
AG
25
26cache:
27 directories:
28 - $GOPATH/src
29 - $HOME/.cache/go-build
30 - $HOME/gopath/pkg/mod
31
7c735cfa
AG
32env:
33 GO111MODULE=on