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
|
2016-12-13 05:03:34 +03:00
|
|
|
- tip
|
|
|
|
|
2017-03-11 07:13:12 +03:00
|
|
|
install:
|
|
|
|
- echo "ignore go get"
|
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
|