github.com/nats-io/nats-server/v2@v2.11.0-preview.2/.travis.yml (about) 1 os: linux 2 dist: focal 3 4 vm: 5 size: 2x-large 6 7 language: go 8 go: 9 # This should be quoted or use .x, but should not be unquoted. 10 # Remember that a YAML bare float drops trailing zeroes. 11 - "1.22.2" 12 - "1.21.9" 13 14 go_import_path: github.com/nats-io/nats-server 15 16 addons: 17 apt: 18 packages: 19 - rpm 20 21 jobs: 22 include: 23 - name: "Compile and various other checks" 24 env: TEST_SUITE=compile 25 - name: "Run TestNoRace tests" 26 env: TEST_SUITE=no_race_tests 27 - name: "Run Store tests" 28 env: TEST_SUITE=store_tests 29 - name: "Run JetStream tests" 30 env: TEST_SUITE=js_tests 31 - name: "Run JetStream cluster tests (1)" 32 env: TEST_SUITE=js_cluster_tests_1 33 - name: "Run JetStream cluster tests (2)" 34 env: TEST_SUITE=js_cluster_tests_2 35 - name: "Run JetStream cluster tests (3)" 36 env: TEST_SUITE=js_cluster_tests_3 37 - name: "Run JetStream cluster tests (4)" 38 env: TEST_SUITE=js_cluster_tests_4 39 - name: "Run JetStream super cluster tests" 40 env: TEST_SUITE=js_super_cluster_tests 41 - name: "Run MQTT tests" 42 env: TEST_SUITE=mqtt_tests 43 - name: "Run Message Tracing tests" 44 env: TEST_SUITE=msgtrace_tests 45 - name: "Run all other tests from the server package" 46 env: TEST_SUITE=srv_pkg_non_js_tests 47 - name: "Run all tests from all other packages" 48 env: TEST_SUITE=non_srv_pkg_tests 49 - name: "Compile with older Go release" 50 go: "1.20" 51 env: TEST_SUITE=build_only 52 53 script: ./scripts/runTestsOnTravis.sh $TEST_SUITE 54 55 deploy: 56 provider: script 57 cleanup: true 58 script: curl -sL http://git.io/goreleaser | bash 59 on: 60 tags: true 61 condition: ($TRAVIS_GO_VERSION =~ 1.22) && ($TEST_SUITE = "compile")