2016-12-13 05:03:34 +03:00
|
|
|
language: go
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
go:
|
2017-03-11 05:43:26 +03:00
|
|
|
- 1.6.x
|
|
|
|
- 1.7.x
|
|
|
|
- 1.8.x
|
2017-09-17 05:08:54 +03:00
|
|
|
- 1.9.x
|
2018-03-01 06:08:58 +03:00
|
|
|
- 1.10.x
|
2018-08-27 05:47:16 +03:00
|
|
|
- 1.11.x
|
2019-02-26 05:08:36 +03:00
|
|
|
- 1.12.x
|
2019-02-26 05:31:15 +03:00
|
|
|
- master
|
2016-12-13 05:03:34 +03:00
|
|
|
|
2018-12-25 04:44:02 +03:00
|
|
|
matrix:
|
|
|
|
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
|
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
|
|
|
|
on_start: false
|