2022-04-03 04:07:16 +00:00
|
|
|
language: go
|
|
|
|
sudo: false
|
|
|
|
go:
|
|
|
|
- 1.9
|
|
|
|
- 1.8
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- go get -u -t ./...
|
2022-08-06 14:21:18 +00:00
|
|
|
- go get -u gopkg.in/alecthomas/gometalinter.v1
|
|
|
|
- gometalinter.v1 --install
|
2022-04-03 04:07:16 +00:00
|
|
|
|
|
|
|
script:
|
2022-08-06 14:21:18 +00:00
|
|
|
- gometalinter.v1 --config metalinter.json ./...
|
|
|
|
- ./test.sh
|
2022-04-03 04:07:16 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|