run unit tests before checking coverage
diff --git a/.travis.yml b/.travis.yml
index 3ada567..b9f7707 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,11 +8,11 @@
- 1.5
- tip
env:
-- COVERALLS_TOKEN=2k7PTU3xa474Hymwgdj6XjqenNfGTNkO8
-script: script/cibuild
+ - COVERALLS_TOKEN=2k7PTU3xa474Hymwgdj6XjqenNfGTNkO8
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- 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