forked from IBM-Cloud/terraform-provider-ibm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e67ab37
commit b4d2bdd
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
sudo: false | ||
language: go | ||
go: | ||
- 1.8.1 | ||
|
||
|
||
before_install: | ||
- mkdir -p $GOPATH/src/github.com/terraform-providers/terraform-provider-ibm | ||
- mv $TRAVIS_BUILD_DIR/* $GOPATH/src/github.com/terraform-providers/terraform-provider-ibm | ||
- cd $GOPATH/src/github.com/terraform-providers/terraform-provider-ibm | ||
|
||
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 | ||
- go get github.com/kardianos/govendor | ||
|
||
script: | ||
- make test | ||
- make vet | ||
|
||
branches: | ||
only: | ||
- master | ||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- go: tip |