terraform-provider-google/.travis.yml
Paddy 21499000ed
Switch to using golangci-lint instead of go-metalinter (#3049)
* Switch to using golangci-lint instead of gometalinter.

* Update list of allowed ignored errors.

* Add GOFLAG=mod-vendor env var to travis.

* Fix env vars.
2019-02-14 16:52:09 -08:00

32 lines
537 B
YAML

dist: trusty
sudo: required
services:
- docker
language: go
go:
- "1.11.x"
env:
- GO111MODULE=on
GOFLAGS=-mod=vendor
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
branches:
only:
- master
matrix:
fast_finish: true
allow_failures:
- go: tip