]> git.immae.eu Git - github/fretlink/terraform-provider-mailgun.git/blame - .travis.yml
add go 1.11 to 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"
68936298 8 - "1.11.x"
7c735cfa
AG
9
10install:
11# This script is used by the Travis build to install a cookie for
12# go.googlesource.com so rate limits are higher when using `go get` to fetch
13# packages that live there.
14# See: https://github.com/golang/go/issues/12933
15- bash scripts/gogetcookie.sh
16
17script:
18- make test
19- make vet
20- make website-test
21
22matrix:
23 fast_finish: true
24 allow_failures:
25 - go: tip
12576b10
AG
26
27cache:
28 directories:
29 - $GOPATH/src
30 - $HOME/.cache/go-build
31 - $HOME/gopath/pkg/mod
32
7c735cfa
AG
33env:
34 GO111MODULE=on