github.com/hellobchain/third_party@v0.0.0-20230331131523-deb0478a2e52/gin/.travis.yml (about) 1 language: go 2 3 matrix: 4 fast_finish: true 5 include: 6 - go: 1.12.x 7 env: GO111MODULE=on 8 - go: 1.13.x 9 - go: 1.13.x 10 env: 11 - TESTTAGS=nomsgpack 12 - go: 1.14.x 13 - go: 1.14.x 14 env: 15 - TESTTAGS=nomsgpack 16 - go: 1.15.x 17 - go: 1.15.x 18 env: 19 - TESTTAGS=nomsgpack 20 - go: master 21 22 git: 23 depth: 10 24 25 before_install: 26 - if [[ "${GO111MODULE}" = "on" ]]; then mkdir "${HOME}/go"; export GOPATH="${HOME}/go"; fi 27 28 install: 29 - if [[ "${GO111MODULE}" = "on" ]]; then go mod download; fi 30 - if [[ "${GO111MODULE}" = "on" ]]; then export PATH="${GOPATH}/bin:${GOROOT}/bin:${PATH}"; fi 31 - if [[ "${GO111MODULE}" = "on" ]]; then make tools; fi 32 33 go_import_path: github.com/gin-gonic/gin 34 35 script: 36 - make vet 37 - make fmt-check 38 - make misspell-check 39 - make test 40 41 after_success: 42 - bash <(curl -s https://codecov.io/bash) 43 44 notifications: 45 webhooks: 46 urls: 47 - https://webhooks.gitter.im/e/7f95bf605c4d356372f4 48 on_success: change # options: [always|never|change] default: always 49 on_failure: always # options: [always|never|change] default: always 50 on_start: false # default: false