Jelajahi Sumber

Disable race checks in Travis

Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
Vadim Markovtsev 6 tahun lalu
induk
melakukan
2bfc514461
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -65,7 +65,7 @@ script:
   - golint -set_exit_status $(go list ./... | grep -v /vendor/)
   - flake8
   - go test -coverpkg=all -v -coverprofile=coverage.txt -covermode=count gopkg.in/src-d/hercules.v9/... && sed -i '/cmd\/hercules\|core.go/d' coverage.txt
-  - go test -race gopkg.in/src-d/hercules.v9/...  # run race checks separately because some tests take more than 10 min with -covermode=atomic
+  - # race checks increase the elapsed time by 10 minutes, we run them only in AppVeyor
   - $GOPATH/bin/hercules version
   - $GOPATH/bin/hercules --burndown --couples --devs --quiet --pb https://github.com/src-d/hercules > 1.pb
   - cp 1.pb 2.pb