Make travis script non-verbose and remove the server running part.
@@ -11,14 +11,14 @@ for d in $(go list ./...); do
# This can generate full coverage report of vm package.
# Test that need to run without race detection include NoRaceDetection in the name,
# otherwise, they will run twice (in the run below).
- NO_RACE_DETECTION=true go test -coverprofile=profile.out -covermode=atomic $d -v -run NoRaceDetection
+ NO_RACE_DETECTION=true go test -coverprofile=profile.out -covermode=atomic $d -run NoRaceDetection
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
# Then we test other tests with race detection
- go test -race -coverprofile=profile.out -covermode=atomic $d -v
+ go test -race -coverprofile=profile.out -covermode=atomic $d
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
@@ -36,9 +36,3 @@ done
# TODO: Write a test for this specific case
make install
goby test specs
-goby test_fixtures/server.gb & PID=$!
-echo "Sleeping for $SLEEP sec to wait server.gb being ready..."; sleep $SLEEP
-
-ab -n 3000 -c 100 http://localhost:3000/
-
-kill $PID
