2018-06-16 19:22:21 -05:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
|
|
|
# - 1.7.x
|
|
|
|
# - 1.8.x
|
|
|
|
# - 1.9.x
|
|
|
|
- 1.10.x
|
|
|
|
# - master
|
|
|
|
|
2018-06-22 07:01:36 -05:00
|
|
|
before_script:
|
2018-06-16 19:22:21 -05:00
|
|
|
- go version
|
|
|
|
- make setup
|
|
|
|
- make lint
|
2018-06-22 07:01:36 -05:00
|
|
|
|
|
|
|
script:
|
2018-06-16 19:22:21 -05:00
|
|
|
- make test
|
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|
2018-06-20 22:48:36 -05:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
- provider: script
|
|
|
|
skip_cleanup: true
|
|
|
|
script: curl -sL http://git.io/goreleaser | bash
|
|
|
|
on:
|
|
|
|
tags: true
|