1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2025-02-03 23:57:39 +01:00

send coverage to codeclimate

This commit is contained in:
Matthias Kretschmann 2019-04-14 17:05:17 +02:00
parent 09a119f78c
commit ae04b578a9
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -13,10 +13,18 @@ cache:
install:
- npm i
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:
- npm test
- npm run build
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
after_success:
- pip install --user awscli
- export PATH=$PATH:$HOME/.local/bin