mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-03 03:12:50 +02:00
Merge pull request #276 from desimone/dev/add-code-climate
dev: add code climate
This commit is contained in:
commit
98762ab48e
1 changed files with 9 additions and 0 deletions
|
@ -10,12 +10,21 @@ matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- go: tip
|
- go: tip
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
before_script:
|
||||||
|
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
||||||
|
- chmod +x ./cc-test-reporter
|
||||||
|
- ./cc-test-reporter before-build
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- env GOPROXY=https://proxy.golang.org GO111MODULE=on make all
|
- env GOPROXY=https://proxy.golang.org GO111MODULE=on make all
|
||||||
- env GO111MODULE=on make cover
|
- env GO111MODULE=on make cover
|
||||||
- env GO111MODULE=on make release
|
- env GO111MODULE=on make release
|
||||||
|
- env GOPROXY=https://proxy.golang.org GO111MODULE=on go test ./... -coverprofile c.out
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
|
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
api_key:
|
api_key:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue