2018-04-10 20:08:43 +02:00
|
|
|
language: go
|
|
|
|
go_import_path: maunium.net/go/gomuks
|
|
|
|
go:
|
2019-04-10 00:44:53 +02:00
|
|
|
- "1.12"
|
2019-01-22 20:34:51 +01:00
|
|
|
env:
|
|
|
|
- "GO111MODULE=on"
|
2018-04-10 20:08:43 +02:00
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
install:
|
|
|
|
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
|
|
|
- chmod +x ./cc-test-reporter
|
|
|
|
- go get -u github.com/stretchr/testify/assert
|
2019-04-10 00:44:53 +02:00
|
|
|
- go install
|
2018-04-10 20:08:43 +02:00
|
|
|
before_script:
|
|
|
|
- ./cc-test-reporter before-build
|
|
|
|
script:
|
|
|
|
- go test -v -race ./... -coverprofile c.out
|
|
|
|
- go vet ./...
|
|
|
|
after_script:
|
|
|
|
- ./cc-test-reporter after-build --coverage-input-type gocov --exit-code $TRAVIS_TEST_RESULT
|