Let's try a slightly different approach to try to get CC to work
This commit is contained in:
parent
26f8c3e50d
commit
c42af97ec3
|
@ -19,12 +19,9 @@ install: true
|
||||||
before_script:
|
before_script:
|
||||||
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
||||||
- chmod +x ./cc-test-reporter
|
- chmod +x ./cc-test-reporter
|
||||||
- go get github.com/axw/gocov/gocov
|
|
||||||
- ./cc-test-reporter before-build
|
- ./cc-test-reporter before-build
|
||||||
script: ./run-linux-tests
|
script: ./run-linux-tests
|
||||||
after_script:
|
after_script:
|
||||||
- gocov test -coverprofile=out
|
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
||||||
- ./cc-test-reporter format-coverage --input-type gocov out
|
|
||||||
- ./cc-test-reporter upload-coverage
|
|
||||||
addons:
|
addons:
|
||||||
mariadb: '10.0'
|
mariadb: '10.0'
|
Loading…
Reference in New Issue