terraform-provider-google/.travis.yml
Riley Karson 3d43932a49
Update go versions used in development (#2934)
Adding `.x` to Travis means use the latest minor version according to its docs.

I didn't update the "Requirements" header because this is just because of Go Modules; see https://github.com/terraform-providers/terraform-provider-google/pull/2932 for why. Since it's just a development change, it doesn't impact _using_ the provider.

Although, out of curiosity- is that header for development? Or is there a real requirement to have Go installed to use Terraform providers?
2019-02-01 07:58:37 -08:00

33 lines
525 B
YAML

dist: trusty
sudo: required
services:
- docker
language: go
go:
- "1.11.x"
install:
# This script is used by the Travis build to install a cookie for
# go.googlesource.com so rate limits are higher when using `go get` to fetch
# packages that live there.
# See: https://github.com/golang/go/issues/12933
- bash scripts/gogetcookie.sh
- make tools
script:
- make lint
- make test
- make website-test
env:
- GO111MODULE=off
branches:
only:
- master
- 2.0.0
matrix:
fast_finish: true
allow_failures:
- go: tip