Ver código fonte

codec: update travis to run 3 sets of tests (unsafe, safe and codecgen)

This should give us a better idea that we work across the board.
Ugorji Nwoke 6 anos atrás
pai
commit
8368a4235e
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      .travis.yml

+ 2 - 0
.travis.yml

@@ -10,5 +10,7 @@ go:
     - tip
     - tip
 script:
 script:
     - go test -tags "alltests" -run Suite -coverprofile coverage.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
 after_success:
 after_success:
     - bash <(curl -s https://codecov.io/bash)
     - bash <(curl -s https://codecov.io/bash)