瀏覽代碼

more go versions; add race detector to tests

mihasya 8 年之前
父節點
當前提交
0af305c4e3
共有 2 個文件被更改,包括 5 次插入1 次删除
  1. 4 0
      .travis.yml
  2. 1 1
      validate.sh

+ 4 - 0
.travis.yml

@@ -5,6 +5,10 @@ go:
     - 1.3
     - 1.4
     - 1.5
+    - 1.6
+    - 1.7
+    - 1.8
+    - 1.9
 
 script:
     - ./validate.sh

+ 1 - 1
validate.sh

@@ -7,4 +7,4 @@ GOFMT_LINES=`gofmt -l . | wc -l | xargs`
 test $GOFMT_LINES -eq 0 || echo "gofmt needs to be run, ${GOFMT_LINES} files have issues"
 
 # run the tests for the root package
-go test .
+go test -race .