Excluding vendor tests

This commit is contained in:
Diptanu Choudhury
2016-02-12 10:26:19 -08:00
parent 455e4aa40f
commit 129e5f43ce

View File

@@ -12,4 +12,4 @@ go build -o $TEMPDIR/nomad || exit 1
# Run the tests
echo "--> Running tests"
go list ./... | sudo -E PATH=$TEMPDIR:$PATH xargs -n1 go test -cover -timeout=180s
go list ./... | grep -v '/vendor/' | sudo -E PATH=$TEMPDIR:$PATH xargs -n1 go test -cover -timeout=180s