travis: update to use Go 1.7, glide
This commit is contained in:
parent
43969afa60
commit
2d0be7ccf4
13
.travis.yml
13
.travis.yml
@ -1,23 +1,16 @@
|
|||||||
language: go
|
language: go
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.6
|
- 1.7
|
||||||
- 1.5
|
|
||||||
- tip
|
- tip
|
||||||
|
|
||||||
sudo: false
|
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:
|
install:
|
||||||
- echo 'nop'
|
- mkdir $GOPATH/bin && curl https://glide.sh/get | sh
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go test -v $(go list ./... | grep -v /vendor/)
|
- go test $(glide novendor | grep -v contrib)
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- postgresql
|
- postgresql
|
||||||
|
Loading…
Reference in New Issue
Block a user