Merge pull request #1076 from coreos/test_race

test: test with race by default
This commit is contained in:
Xiang Li 2014-09-14 21:42:45 -07:00
commit 03f0ed657a
2 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
language: go
go:
- 1.3
- 1.2
install:
- go get code.google.com/p/go.tools/cmd/cover

2
test
View File

@ -38,7 +38,7 @@ split=(${TEST// / })
TEST=${split[@]/#/${REPO_PATH}/}
echo "Running tests..."
go test ${COVER} $@ ${TEST}
go test ${COVER} $@ ${TEST} --race
echo "Checking gofmt..."
fmtRes=$(gofmt -l $FMT)