Ver código fonte

Merge pull request #218 from rcrowley/cituneup2017

more go versions; add race detector to tests
Mikhail P 8 anos atrás
pai
commit
bdaddfcaf8
2 arquivos alterados com 5 adições e 1 exclusões
  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 .