Skip to content

Commit

Permalink
travis: update to use Go 1.7, glide
Browse files Browse the repository at this point in the history
  • Loading branch information
jzelinskie committed Nov 11, 2016
1 parent 43969af commit 2d0be7c
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,29 @@
language: go

go:
- 1.6
- 1.5
- 1.7
- tip

sudo: false

before_install:
- export GO15VENDOREXPERIMENT=1
- RepoName=`basename $PWD`; SrcDir=`dirname $PWD`; DestDir="`dirname $SrcDir`/coreos"
- if [[ "$SrcDir" != "$DestDir" ]]; then mv "$SrcDir" "$DestDir"; cd ../../coreos/$RepoName; export TRAVIS_BUILD_DIR=`dirname $TRAVIS_BUILD_DIR`/$RepoName; fi


install:
- echo 'nop'
- mkdir $GOPATH/bin && curl https://glide.sh/get | sh

script:
- go test -v $(go list ./... | grep -v /vendor/)
- go test $(glide novendor | grep -v contrib)

services:
- postgresql
- postgresql

addons:
apt:
packages:
- rpm
- rpm
postgresql: "9.4"

notifications:
email: false

matrix:
allow_failures:
- go: tip
- go: tip

0 comments on commit 2d0be7c

Please sign in to comment.