2017-03-28 16:50:07 +00:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2017-08-29 20:40:56 +00:00
|
|
|
- 1.6
|
2017-03-28 16:50:07 +00:00
|
|
|
- 1.7
|
|
|
|
- 1.8
|
|
|
|
- master
|
|
|
|
|
|
|
|
install:
|
2017-08-29 20:40:56 +00:00
|
|
|
- wget https://github.com/golang/dep/releases/download/v0.3.0/dep-linux-amd64.zip
|
|
|
|
- unzip dep-linux-amd64.zip
|
|
|
|
- chmod +x dep
|
|
|
|
- ./dep ensure
|
2017-03-28 16:50:07 +00:00
|
|
|
- go get -u github.com/alecthomas/gometalinter
|
|
|
|
- gometalinter -u -i -f
|
|
|
|
|
|
|
|
script:
|
2017-03-30 19:02:49 +00:00
|
|
|
- go test -race -coverprofile=coverage.txt -covermode=atomic
|
2017-08-26 09:48:41 +00:00
|
|
|
- gometalinter --vendor --config=./gometalinter.json ./...
|
2017-03-30 18:57:35 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|