call goveralls with an existing cover profile
diff --git a/.travis.yml b/.travis.yml
index 7045e0e..dfb3618 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,7 +12,10 @@
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
+ - go get github.com/gotestcover/gotestcover
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
script:
- script/cibuild
- - $HOME/gopath/bin/goveralls -service=travis-ci
+after_success:
+ - $HOME/gopath/bin/gotestcover -tags=fixtures -coverprofile=cover.out ./...
+ - $HOME/gopath/bin/goveralls -service=travis-ci -coverprofile=cover.out