소스 검색

Merge pull request #218 from rcrowley/cituneup2017

more go versions; add race detector to tests
Mikhail P 8 년 전
부모
커밋
bdaddfcaf8
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 .