Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
TravisCI fixed yaml Go-version parsing
  • Loading branch information
muesli committed May 7, 2018
1 parent ae75724 commit 08d8ee2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -13,7 +13,7 @@ go:
- 1.7.x
- 1.8.x
- 1.9.x
- "1.10.x"
- 1.10.x
- tip

matrix:
Expand All @@ -30,11 +30,11 @@ matrix:
go: 1.6.x

before_install:
- if [[ $TRAVIS_GO_VERSION == 1.9* ]]; then go get github.com/axw/gocov/gocov github.com/mattn/goveralls; fi
- if [[ $TRAVIS_GO_VERSION == 1.10* ]]; then go get github.com/axw/gocov/gocov github.com/mattn/goveralls; fi

script:
- go test -v -tags ci ./...
- if [[ $TRAVIS_GO_VERSION == 1.9* ]]; then $GOPATH/bin/goveralls -service=travis-ci; fi
- if [[ $TRAVIS_GO_VERSION == 1.10* ]]; then $GOPATH/bin/goveralls -service=travis-ci; fi

notifications:
email:
Expand Down

0 comments on commit 08d8ee2

Please sign in to comment.