2016-12-13 05:03:34 +03:00
|
|
|
language: go
|
|
|
|
|
2020-09-16 11:04:30 +03:00
|
|
|
jobs:
|
2018-12-25 04:44:02 +03:00
|
|
|
fast_finish: true
|
|
|
|
include:
|
|
|
|
- go: 1.11.x
|
|
|
|
env: GO111MODULE=on
|
2019-02-26 05:31:15 +03:00
|
|
|
- go: 1.12.x
|
|
|
|
env: GO111MODULE=on
|
2020-09-16 11:04:30 +03:00
|
|
|
- go: 1.13.x
|
|
|
|
- go: 1.14.x
|
|
|
|
- go: 1.15.x
|
2021-03-15 21:11:55 +03:00
|
|
|
- go: 1.16.x
|
2020-09-16 11:04:30 +03:00
|
|
|
- go: master
|
2018-12-25 04:44:02 +03:00
|
|
|
|
2017-03-11 07:13:12 +03:00
|
|
|
install:
|
2018-12-25 08:48:00 +03:00
|
|
|
- go get -t -v -d
|
2017-03-11 13:37:20 +03:00
|
|
|
- go get github.com/campoy/embedmd
|
2017-03-11 07:13:12 +03:00
|
|
|
|
2016-12-13 05:03:34 +03:00
|
|
|
script:
|
2017-03-11 13:37:20 +03:00
|
|
|
- embedmd -d *.md
|
2016-12-13 05:03:34 +03:00
|
|
|
- go test -v -covermode=atomic -coverprofile=coverage.out
|
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- https://webhooks.gitter.im/e/acc2c57482e94b44f557
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
2020-09-16 11:04:30 +03:00
|
|
|
on_start: never
|