forked from F5Networks/terraform-provider-bigip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (33 loc) · 882 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
#Original work from https://github.com/DealerDotCom/terraform-provider-bigip
#Modifications Copyright 2019 F5 Networks Inc.
#This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
#If a copy of the MPL was not distributed with this file,You can obtain one at https://mozilla.org/MPL/2.0/.
dist: trusty
sudo: required
services:
- docker
language: go
go:
- "1.11.x"
git:
depth: 1
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 test
- make website-lint
- make website-test
branches:
only:
- master
matrix:
fast_finish: true
allow_failures:
- go: tip
env:
- GOFLAGS=-mod=vendor GO111MODULE=on