mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
For older versions just check we did not break build step
Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
@@ -33,7 +33,7 @@ jobs:
|
||||
env: TEST_SUITE=non_srv_pkg_tests
|
||||
- name: "Compile and various checks with older Go release"
|
||||
go: 1.17.x
|
||||
env: TEST_SUITE=compile
|
||||
env: TEST_SUITE=build_only
|
||||
|
||||
script: ./scripts/runTestsOnTravis.sh $TEST_SUITE
|
||||
|
||||
|
||||
@@ -19,6 +19,9 @@ if [ "$1" = "compile" ]; then
|
||||
go test -race -v -run=TestVersionMatchesTag ./server -count=1 -vet=off
|
||||
fi
|
||||
|
||||
elif [ "$1" = "build_only" ]; then
|
||||
go build;
|
||||
|
||||
elif [ "$1" = "no_race_tests" ]; then
|
||||
|
||||
# Run tests without the `-race` flag. By convention, those tests start
|
||||
|
||||
Reference in New Issue
Block a user