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:
parent
09a119f78c
commit
ae04b578a9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user