kalisio/logspout-slack

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
env:
  global:
    - CC_TEST_REPORTER_ID=d4450fbe9bb699bf1ede8aef7f510f0fc02596f0fb1f4e0670e33f1767b238d7
language: go
go:
- 1.10
install:
- go get -v github.com/golang/dep/cmd/dep
- go get -v github.com/codeclimate/test-reporter
- cd $GOPATH/src/github.com/golang/dep/cmd/dep && git checkout tags/v0.4.1 && go install
- cd $GOPATH/src/github.com/codeclimate/test-reporter && git checkout tags/v0.4.3 && go install
- dep ensure -v -vendor-only
before_script:
- test-reporter before-build
script:
- go test -v -coverprofile c.out -coverpkg ./...
after_script:
- test-reporter after-build --coverage-input-type gocov --exit-code $TRAVIS_TEST_RESULT