gin/.travis.yml

53 lines
1.1 KiB
YAML
Raw Normal View History

2014-07-03 19:23:03 +04:00
language: go
matrix:
fast_finish: true
include:
- go: 1.13.x
- go: 1.13.x
2021-01-27 04:58:21 +03:00
env:
- TESTTAGS=nomsgpack
2020-02-26 05:27:03 +03:00
- go: 1.14.x
- go: 1.14.x
env:
- TESTTAGS=nomsgpack
2020-08-12 04:28:51 +03:00
- go: 1.15.x
- go: 1.15.x
env:
- TESTTAGS=nomsgpack
2021-04-21 02:38:54 +03:00
- go: 1.16.x
- go: 1.16.x
env:
- TESTTAGS=nomsgpack
- go: master
2015-05-19 02:00:17 +03:00
2016-12-07 01:54:11 +03:00
git:
depth: 10
2016-12-07 01:54:11 +03:00
before_install:
- if [[ "${GO111MODULE}" = "on" ]]; then mkdir "${HOME}/go"; export GOPATH="${HOME}/go"; fi
2016-12-07 01:54:11 +03:00
install:
2019-11-25 10:42:23 +03:00
- if [[ "${GO111MODULE}" = "on" ]]; then go mod download; fi
- if [[ "${GO111MODULE}" = "on" ]]; then export PATH="${GOPATH}/bin:${GOROOT}/bin:${PATH}"; fi
- if [[ "${GO111MODULE}" = "on" ]]; then make tools; fi
2016-12-07 01:54:11 +03:00
2016-01-27 20:32:44 +03:00
go_import_path: github.com/gin-gonic/gin
2015-05-19 02:00:17 +03:00
script:
- make vet
- make fmt-check
- make misspell-check
- make test
2015-06-06 18:35:30 +03:00
after_success:
2016-10-19 12:22:08 +03:00
- bash <(curl -s https://codecov.io/bash)
notifications:
webhooks:
urls:
2016-10-28 22:31:58 +03:00
- https://webhooks.gitter.im/e/7f95bf605c4d356372f4
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false