summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 9a47db3..23bc52f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,7 +8,9 @@ before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq --no-install-recommends libpam0g-dev
- sudo useradd -d /tmp/test -p '$1$Qd8H95T5$RYSZQeoFbEB.gS19zS99A0' -s /bin/false test
+ - go get github.com/axw/gocov/gocov
+ - go get github.com/mattn/goveralls
+ - go get golang.org/x/tools/cmd/cover
script:
- - go get golang.org/x/tools/cmd/cover
- - sudo GOROOT=$GOROOT GOPATH=$GOPATH $(which go) test -v -cover .
+ - sudo GOROOT=$GOROOT GOPATH=$GOPATH $(which goveralls) -service=travis-ci