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