diff options
author | Michael Steinert <[email protected]> | 2015-04-09 13:16:32 -0500 |
---|---|---|
committer | Michael Steinert <[email protected]> | 2015-04-09 13:16:32 -0500 |
commit | 9d2ea3b16d933b82fec919ceb793c6b6dd5b9604 (patch) | |
tree | e4b4666826190a2a59ce44f0af561f1ddafeba5f | |
parent | b4414b73f07d47068171a386ebcc51ce124958f8 (diff) |
Install cover before running tests
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 144a2f7..9a47db3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,4 +9,6 @@ before_install: - sudo apt-get install -qq --no-install-recommends libpam0g-dev - sudo useradd -d /tmp/test -p '$1$Qd8H95T5$RYSZQeoFbEB.gS19zS99A0' -s /bin/false test -script: sudo GOROOT=$GOROOT GOPATH=$GOPATH $(which go) test -v -cover . +script: + - go get golang.org/x/tools/cmd/cover + - sudo GOROOT=$GOROOT GOPATH=$GOPATH $(which go) test -v -cover . |