forked from mongodb/terraform-provider-mongodbatlas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (38 loc) · 887 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
37
38
39
40
41
42
dist: xenial
sudo: required
services:
- docker
language: go
git:
depth: 1
env:
global:
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
matrix:
fast_finish: true
allow_failures:
- go: tip
include:
- go: "1.12.x"
name: "Code Lint"
script: make lint
- go: "1.12.x"
name: "Code UnitTest"
script: make test
# - go: "1.12.x"
# name: "Code Acceptance Test"
# script: travis_wait 200 make testacc
- go: "1.12.x"
name: "Website"
script:
#- make website-test #commented until Terraform Provider Program Validation
- make website-lint
env:
- GOFLAGS=-mod=vendor GO111MODULE=on