|
@@ -16,9 +16,17 @@ script:
|
|
|
# we use if block below, so that we still return with success even if skipped.
|
|
# we use if block below, so that we still return with success even if skipped.
|
|
|
# Previously, we used [[...]] && go test ..., which returned exit code 0 and broke the build.
|
|
# Previously, we used [[...]] && go test ..., which returned exit code 0 and broke the build.
|
|
|
- |
|
|
- |
|
|
|
- if [[ "${TRAVIS_GO_VERSION}" == "1.12.x" ]]; then
|
|
|
|
|
|
|
+ if [[ "${TRAVIS_GO_VERSION}" == "1.9.x" ]]; then
|
|
|
GOARCH=386 go test -tags "alltests" -run Suite -coverprofile coverage.386.txt github.com/ugorji/go/codec
|
|
GOARCH=386 go test -tags "alltests" -run Suite -coverprofile coverage.386.txt github.com/ugorji/go/codec
|
|
|
fi
|
|
fi
|
|
|
|
|
+ - |
|
|
|
|
|
+ if [[ "${TRAVIS_GO_VERSION}" == "1.10.x" ]]; then
|
|
|
|
|
+ GOARCH=386 go test -tags "alltests safe" -run Suite -coverprofile coverage.386.safe.txt github.com/ugorji/go/codec
|
|
|
|
|
+ fi
|
|
|
|
|
+ - |
|
|
|
|
|
+ if [[ "${TRAVIS_GO_VERSION}" == "1.11.x" ]]; then
|
|
|
|
|
+ GOARCH=386 go test -tags "alltests codecgen" -run Suite -coverprofile coverage.386.codecgen.txt github.com/ugorji/go/codec
|
|
|
|
|
+ fi
|
|
|
- |
|
|
- |
|
|
|
if [[ "${TRAVIS_GO_VERSION}" == "1.12.x" ]]; then
|
|
if [[ "${TRAVIS_GO_VERSION}" == "1.12.x" ]]; then
|
|
|
echo "XXXX RACE" && go test "-race" -tags "alltests" -run Suite -coverprofile coverage.race.txt github.com/ugorji/go/codec;
|
|
echo "XXXX RACE" && go test "-race" -tags "alltests" -run Suite -coverprofile coverage.race.txt github.com/ugorji/go/codec;
|