Browse Source

Merge pull request #1076 from coreos/test_race

test: test with race by default
Xiang Li 11 years ago
parent
commit
03f0ed657a
2 changed files with 1 additions and 2 deletions
  1. 0 1
      .travis.yml
  2. 1 1
      test

+ 0 - 1
.travis.yml

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

+ 1 - 1
test

@@ -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)