Travis uses sudo/docker and run tests as root

This commit is contained in:
Alex Dadgar
2016-01-19 15:44:04 -08:00
parent adf05e00bf
commit 00aa52d60c
2 changed files with 6 additions and 3 deletions

View File

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