Bump test go to 1.7.5 (#127)
* Bump test go to 1.7.5 * Use travis container infrastructure * Don't run the tests twice on PRs
This commit is contained in:
+4
-1
@@ -1,8 +1,9 @@
|
|||||||
|
sudo: false
|
||||||
language: go
|
language: go
|
||||||
go:
|
go:
|
||||||
- 1.5.4
|
- 1.5.4
|
||||||
- 1.6.4
|
- 1.6.4
|
||||||
- 1.7.4
|
- 1.7.5
|
||||||
- tip
|
- tip
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
@@ -14,5 +15,7 @@ before_install:
|
|||||||
- go get github.com/axw/gocov/gocov
|
- go get github.com/axw/gocov/gocov
|
||||||
- go get github.com/mattn/goveralls
|
- go get github.com/mattn/goveralls
|
||||||
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
|
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
|
||||||
|
branches:
|
||||||
|
only: [master]
|
||||||
after_success:
|
after_success:
|
||||||
- $HOME/gopath/bin/goveralls -service=travis-ci
|
- $HOME/gopath/bin/goveralls -service=travis-ci
|
||||||
|
|||||||
Reference in New Issue
Block a user