Permalink
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 443 Bytes
language: go
go:
- 1.7
- 1.8
- 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
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