Setup Codecov (#235)

This commit is contained in:
Thomas Pelletier
2018-07-24 11:27:17 -07:00
committed by GitHub
parent 5c5490133d
commit 14d3ac30da
3 changed files with 4 additions and 7 deletions
+2 -5
View File
@@ -13,9 +13,6 @@ script:
- if [ -n "$(go fmt ./...)" ]; then exit 1; fi
- ./test.sh
- ./benchmark.sh $TRAVIS_BRANCH https://github.com/$TRAVIS_REPO_SLUG.git
before_install:
- go get github.com/axw/gocov/gocov
- 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
after_success:
- $HOME/gopath/bin/goveralls -service=travis-ci -coverprofile=coverage.out -repotoken $COVERALLS_TOKEN
- bash <(curl -s https://codecov.io/bash)