2014-07-03 15:23:03 +00:00
|
|
|
language: go
|
2014-12-29 11:49:59 +00:00
|
|
|
sudo: false
|
2014-07-03 15:23:03 +00:00
|
|
|
go:
|
2017-02-16 01:27:10 +00:00
|
|
|
- 1.6.x
|
|
|
|
- 1.7.x
|
2017-02-17 08:38:56 +00:00
|
|
|
- 1.8.x
|
2017-03-16 01:15:41 +00:00
|
|
|
- master
|
2015-05-18 23:00:17 +00:00
|
|
|
|
2016-12-06 22:54:11 +00:00
|
|
|
git:
|
|
|
|
depth: 3
|
|
|
|
|
|
|
|
install:
|
|
|
|
- go get -v github.com/kardianos/govendor
|
|
|
|
- govendor sync
|
2017-03-16 15:38:30 +00:00
|
|
|
- go get -u github.com/campoy/embedmd
|
2016-12-06 22:54:11 +00:00
|
|
|
|
2015-05-18 23:00:17 +00:00
|
|
|
script:
|
2017-03-16 15:38:30 +00:00
|
|
|
- embedmd -d README.md
|
2015-05-18 23:14:42 +00:00
|
|
|
- go test -v -covermode=count -coverprofile=coverage.out
|
2015-06-06 15:35:30 +00:00
|
|
|
|
|
|
|
after_success:
|
2016-10-19 09:22:08 +00:00
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
2015-05-20 08:37:52 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
webhooks:
|
|
|
|
urls:
|
2016-10-28 19:31:58 +00:00
|
|
|
- https://webhooks.gitter.im/e/7f95bf605c4d356372f4
|
2015-05-20 08:37:52 +00:00
|
|
|
on_success: change # options: [always|never|change] default: always
|
|
|
|
on_failure: always # options: [always|never|change] default: always
|
|
|
|
on_start: false # default: false
|