Skip to content

Commit 145cd4e

Browse files
committed
Check for race conditions and fail test build if they exist
1 parent 438eb55 commit 145cd4e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@ go:
66
- tip
77

88
before_install: go get golang.org/x/tools/cmd/cover
9-
script:
10-
- export GORACE="halt_on_error=1"
11-
- go test -race -v -cover ./...
9+
script: go test -race -v -cover ./...
1210

1311
env:
1412
- GOMAXPROCS=8
13+
- GORACE="halt_on_error=1"
1514

1615
notifications:
1716
email: false

0 commit comments

Comments
 (0)