Get cover and goveralls in ./build.sh setup
This commit is contained in:
parent
c5c9ee92ac
commit
3f6cdc829b
10
build.sh
10
build.sh
@ -37,7 +37,7 @@ test-cov() {
|
|||||||
godep go test -coverprofile=profile.out $dir || fail=1
|
godep go test -coverprofile=profile.out $dir || fail=1
|
||||||
if [ -f profile.out ] ; then
|
if [ -f profile.out ] ; then
|
||||||
grep -v "mode: set" profile.out >> coverage.out
|
grep -v "mode: set" profile.out >> coverage.out
|
||||||
rm profile.out
|
rm profile.out
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -89,10 +89,10 @@ deps() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setup() {
|
setup() {
|
||||||
echo Installing godep...
|
go get -v -u code.google.com/p/go.tools/cmd/cover
|
||||||
go get -u github.com/tools/godep
|
go get -v -u code.google.com/p/go.tools/cmd/vet
|
||||||
echo Installing go vet...
|
go get -v -u github.com/mattn/goveralls
|
||||||
go get -u code.google.com/p/go.tools/cmd/vet
|
go get -v -u github.com/tools/godep
|
||||||
}
|
}
|
||||||
|
|
||||||
xdr() {
|
xdr() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user