2012-12-26 18:18:56 +00:00
|
|
|
language: go
|
2014-11-10 02:48:09 +00:00
|
|
|
go:
|
2017-10-31 13:12:15 +00:00
|
|
|
- 1.8.x
|
|
|
|
- 1.9.x
|
2018-11-27 11:55:56 +00:00
|
|
|
- 1.10.x
|
|
|
|
install:
|
|
|
|
# Fetch dependencies
|
2017-10-31 13:12:15 +00:00
|
|
|
- wget -O dep https://github.com/golang/dep/releases/download/v0.3.2/dep-linux-amd64
|
|
|
|
- chmod +x dep
|
2018-11-27 11:55:56 +00:00
|
|
|
- ./dep ensure --vendor-only
|
|
|
|
script:
|
2018-11-27 12:17:59 +00:00
|
|
|
- set -e
|
2018-11-27 11:55:56 +00:00
|
|
|
# Lint
|
|
|
|
- go get -u github.com/alecthomas/gometalinter
|
|
|
|
- gometalinter --install
|
|
|
|
- ./lint.sh
|
|
|
|
# Run tests
|
2014-11-10 02:48:09 +00:00
|
|
|
- ./test.sh
|
2015-06-08 03:52:28 +00:00
|
|
|
sudo: false
|
2012-12-26 18:18:56 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|