Skip to content
Permalink
Browse files

travis: update go versions; fix coveralls

  • Loading branch information...
olt committed Aug 6, 2019
1 parent 00d2805 commit 8456862669e79f199f11ac4fdcbcc93d20235b7a
Showing with 4 additions and 3 deletions.
  1. +4 −3 .travis.yml
@@ -1,17 +1,18 @@
language: go
go:
- 1.7
- 1.8
- 1.11
- 1.12
- tip

matrix:
allow_failures:
- go: tip

install:
- if [[ $TRAVIS_GO_VERSION == 1.8* ]]; then go get github.com/axw/gocov/gocov github.com/wadey/gocovmerge github.com/mattn/goveralls; fi
- if [[ $TRAVIS_GO_VERSION == 1.12* ]]; then go get github.com/mattn/goveralls; fi

script:
- make test
# only run test-coverage for one go version
- if [[ $TRAVIS_GO_VERSION == 1.8* ]]; then make test-coverage; $HOME/gopath/bin/goveralls -coverprofile=overalls.coverprofile -service=travis-ci; fi
- if [[ $TRAVIS_GO_VERSION == 1.12* ]]; then make test-coverage; $HOME/gopath/bin/goveralls -coverprofile=magnacarto.coverprofile -service=travis-ci; fi

0 comments on commit 8456862

Please sign in to comment.
You can’t perform that action at this time.