Skip to content

Commit

Permalink
Add travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishth09 committed Oct 13, 2017
1 parent e67ab37 commit b4d2bdd
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .travis.yml
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

0 comments on commit b4d2bdd

Please sign in to comment.