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