Get cover and goveralls in ./build.sh setup

This commit is contained in:
Jakob Borg 2014-07-31 12:51:50 +02:00
parent c5c9ee92ac
commit 3f6cdc829b
1 changed files with 5 additions and 5 deletions

View File

@ -37,7 +37,7 @@ test-cov() {
godep go test -coverprofile=profile.out $dir || fail=1
if [ -f profile.out ] ; then
grep -v "mode: set" profile.out >> coverage.out
rm profile.out
rm profile.out
fi
done
@ -89,10 +89,10 @@ deps() {
}
setup() {
echo Installing godep...
go get -u github.com/tools/godep
echo Installing go vet...
go get -u code.google.com/p/go.tools/cmd/vet
go get -v -u code.google.com/p/go.tools/cmd/cover
go get -v -u code.google.com/p/go.tools/cmd/vet
go get -v -u github.com/mattn/goveralls
go get -v -u github.com/tools/godep
}
xdr() {