Browse Source

codec: travis: run race detector test on checkin also

Ugorji Nwoke 6 years ago
parent
commit
e439ac8a13
1 changed files with 2 additions and 1 deletions
  1. 2 1
      .travis.yml

+ 2 - 1
.travis.yml

@@ -9,9 +9,10 @@ go:
     - 1.12.x
     - tip
 script:
-    - GOARCH=386 go test -tags "alltests" -run Suite -coverprofile coverage.386.txt github.com/ugorji/go/codec
     - go test -tags "alltests" -run Suite -coverprofile coverage.txt github.com/ugorji/go/codec
     - go test -tags "alltests safe" -run Suite -coverprofile coverage.safe.txt github.com/ugorji/go/codec
     - go test -tags "alltests codecgen" -run Suite -coverprofile coverage.codecgen.txt github.com/ugorji/go/codec
+    - GOARCH=386 go test -tags "alltests" -run Suite -coverprofile coverage.386.txt github.com/ugorji/go/codec
+    - go test -race -tags "alltests" -run Suite -coverprofile coverage.race.txt github.com/ugorji/go/codec
 after_success:
     - bash <(curl -s https://codecov.io/bash)