mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 03:24:40 -07:00
Merge pull request #738 from nats-io/update_travis
Limit cross compile for time were we push a tag
This commit is contained in:
@@ -16,7 +16,7 @@ before_script:
|
||||
- go vet $EXCLUDE_VENDOR
|
||||
- misspell -error -locale US .
|
||||
- megacheck $EXCLUDE_VENDOR
|
||||
- if [[ "$TRAVIS_GO_VERSION" == 1.11 ]]; then ./scripts/cross_compile.sh $TRAVIS_TAG; fi
|
||||
- if [[ "$TRAVIS_GO_VERSION" == 1.11 ]] && [ "$TRAVIS_TAG" != "" ]; then ./scripts/cross_compile.sh $TRAVIS_TAG; fi
|
||||
script:
|
||||
- go test -i $EXCLUDE_VENDOR
|
||||
- if [[ "$TRAVIS_GO_VERSION" == 1.11 ]]; then ./scripts/cov.sh TRAVIS; else go test -v -race $EXCLUDE_VENDOR; fi
|
||||
|
||||
Reference in New Issue
Block a user