forked from hashicorp/terraform-provider-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (34 loc) · 777 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: go
go:
- "1.11.x"
jobs:
include:
- os: linux
dist: trusty
sudo: required
services:
- docker
script:
- make test
- make testacc
- make vet
- make website-test
- os: osx
script:
- make test
- make testacc
- os: windows
script:
# TODO: ensure windows setup can support binary testing
- TF_ACC=1 go test -v ./...
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
branches:
only:
- master