2012-12-26 21:18:56 +03:00
|
|
|
language: go
|
2014-11-10 04:48:09 +02:00
|
|
|
go:
|
2020-03-14 12:14:15 +02:00
|
|
|
- 1.14.x
|
2020-05-10 08:29:37 +02:00
|
|
|
env:
|
|
|
|
- COVER=true
|
2018-11-27 13:55:56 +02:00
|
|
|
install:
|
|
|
|
# Fetch dependencies
|
2020-03-29 13:53:22 +02:00
|
|
|
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin v1.24.0
|
2019-08-05 10:25:14 +02:00
|
|
|
- GO111MODULE=on go mod download
|
2020-05-10 08:29:37 +02:00
|
|
|
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
|
|
|
- chmod +x ./cc-test-reporter
|
|
|
|
before_script:
|
|
|
|
- ./cc-test-reporter before-build
|
2018-11-27 13:55:56 +02:00
|
|
|
script:
|
2020-05-09 17:07:46 +02:00
|
|
|
- make test
|
2020-05-10 08:29:37 +02:00
|
|
|
after_script:
|
|
|
|
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT -t gocov
|
2015-06-08 05:52:28 +02:00
|
|
|
sudo: false
|
2012-12-26 21:18:56 +03:00
|
|
|
notifications:
|
|
|
|
email: false
|