terraform/.travis.yml

41 lines
935 B
YAML
Raw Normal View History

2017-03-14 18:12:07 +01:00
dist: trusty
sudo: false
language: go
go:
- 1.8
2017-03-13 23:07:10 +01:00
env:
- CONSUL_VERSION=0.7.5 TF_CONSUL_TEST=1
2017-03-13 23:07:10 +01:00
# Fetch consul for the backend and provider tests
before_install:
- curl -sLo consul.zip https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip
- unzip consul.zip
- mkdir ~/bin
- mv consul ~/bin
- export PATH="~/bin:$PATH"
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
2017-01-20 18:01:40 +01:00
- go get github.com/kardianos/govendor
script:
2017-02-24 19:45:26 +01:00
- make vet vendor-status test
2017-01-11 15:53:28 +01:00
- GOOS=windows go build
2015-01-22 21:57:01 +01:00
branches:
only:
- master
2015-01-22 22:02:03 +01:00
notifications:
irc:
channels:
- irc.freenode.org#terraform-tool
2015-01-22 22:02:03 +01:00
skip_join: true
use_notice: true
matrix:
fast_finish: true
allow_failures:
- go: tip