Let's try a slightly different approach to try to get CC to work

This commit is contained in:
Azareal 2018-07-30 14:18:36 +10:00
parent 26f8c3e50d
commit c42af97ec3
1 changed files with 1 additions and 4 deletions

View File

@ -19,12 +19,9 @@ install: true
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- go get github.com/axw/gocov/gocov
- ./cc-test-reporter before-build
script: ./run-linux-tests
after_script:
- gocov test -coverprofile=out
- ./cc-test-reporter format-coverage --input-type gocov out
- ./cc-test-reporter upload-coverage
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
addons:
mariadb: '10.0'