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
|
2016-12-13 05:03:34 +03:00
|
|
|
- tip
|
|
|
|
|
2017-03-11 07:13:12 +03:00
|
|
|
install:
|
|
|
|
- echo "ignore go get"
|
2017-03-15 14:49:17 +03:00
|
|
|
- go get -u github.com/kardianos/govendor
|
2017-03-11 13:37:20 +03:00
|
|
|
- go get github.com/campoy/embedmd
|
2017-03-15 14:49:17 +03:00
|
|
|
- govendor sync
|
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
|