mirror of
https://github.com/muesli/kmeans.git
synced 2025-09-27 03:56:17 +08:00
Bump Go versions for TravisCI
This commit is contained in:
@@ -14,6 +14,7 @@ go:
|
||||
- 1.9.x
|
||||
- 1.10.x
|
||||
- 1.11.x
|
||||
- 1.12.x
|
||||
- tip
|
||||
|
||||
matrix:
|
||||
@@ -28,11 +29,11 @@ matrix:
|
||||
go: 1.6.x
|
||||
|
||||
before_install:
|
||||
- if [[ $TRAVIS_GO_VERSION == 1.10* ]]; then go get github.com/axw/gocov/gocov github.com/mattn/goveralls; fi
|
||||
- if [[ $TRAVIS_GO_VERSION == 1.12* ]]; then go get github.com/axw/gocov/gocov github.com/mattn/goveralls; fi
|
||||
|
||||
script:
|
||||
- go test -v -tags ci ./...
|
||||
- if [[ $TRAVIS_GO_VERSION == 1.10* ]]; then $GOPATH/bin/goveralls -service=travis-ci -ignore="examples/colorpalette/main.go,examples/simple/main.go"; fi
|
||||
- if [[ $TRAVIS_GO_VERSION == 1.12* ]]; then $GOPATH/bin/goveralls -service=travis-ci -ignore="examples/colorpalette/main.go,examples/simple/main.go"; fi
|
||||
|
||||
notifications:
|
||||
email:
|
||||
|
Reference in New Issue
Block a user