get.pme.sh/pnats@v0.0.0-20240304004023-26bb5a137ed0/.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.0"
    12    - "1.21.7"
    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 JetStream tests"
    28        env: TEST_SUITE=js_tests
    29      - name: "Run JetStream cluster tests (1)"
    30        env: TEST_SUITE=js_cluster_tests_1
    31      - name: "Run JetStream cluster tests (2)"
    32        env: TEST_SUITE=js_cluster_tests_2
    33      - name: "Run JetStream cluster tests (3)"
    34        env: TEST_SUITE=js_cluster_tests_3
    35      - name: "Run JetStream super cluster tests"
    36        env: TEST_SUITE=js_super_cluster_tests
    37      - name: "Run MQTT tests"
    38        env: TEST_SUITE=mqtt_tests
    39      - name: "Run non JetStream/MQTT tests from the server package"
    40        env: TEST_SUITE=srv_pkg_non_js_tests
    41      - name: "Run all tests from all other packages"
    42        env: TEST_SUITE=non_srv_pkg_tests
    43      - name: "Compile with older Go release"
    44        go: "1.20"
    45        env: TEST_SUITE=build_only
    46  
    47  script: ./scripts/runTestsOnTravis.sh $TEST_SUITE
    48  
    49  deploy:
    50    provider: script
    51    cleanup: true
    52    script: curl -sL http://git.io/goreleaser | bash
    53    on:
    54      tags: true
    55      condition: ($TRAVIS_GO_VERSION =~ 1.22) && ($TEST_SUITE = "compile")