Allow compile and staticheck to pass.

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2022-06-24 09:08:12 -07:00
parent 6b6a2202c7
commit cc197771ec
4 changed files with 8 additions and 7 deletions

View File

@@ -32,10 +32,10 @@ jobs:
- name: "Run all tests from all other packages"
env: TEST_SUITE=non_srv_pkg_tests
- name: "Compile and various checks with older Go release"
go: 1.16.x
go: 1.17.x
env: TEST_SUITE=compile
script: ./runTestsOnTravis.sh $TEST_SUITE
script: ./scripts/runTestsOnTravis.sh $TEST_SUITE
deploy:
provider: script
@@ -43,4 +43,4 @@ deploy:
script: curl -sL http://git.io/goreleaser | bash
on:
tags: true
condition: ($TRAVIS_GO_VERSION =~ 1.17) && ($TEST_SUITE = "compile")
condition: ($TRAVIS_GO_VERSION =~ 1.18) && ($TEST_SUITE = "compile")