lbcd/get_ci_cover.sh
Dave Collins 7a1a260b78 Update TravisCI to work with go tip.
This commit modifies the .travis.yml to invoke a new script which has also
been added that gets the test coverage tool from the new path needed by go
tip.
2014-11-14 21:20:44 -06:00

8 lines
164 B
Bash
Executable file

#!/usr/bin/env sh
set -x
if [ "$TRAVIS_GO_VERSION" = "tip" ]; then
go get -v golang.org/x/tools/cmd/cover
else
go get -v code.google.com/p/go.tools/cmd/cover
fi