Skip to content

Commit

Permalink
Issue #63: add codecov support in dev.
Browse files Browse the repository at this point in the history
  • Loading branch information
fgm committed Jul 27, 2018
1 parent 97cacbc commit a0f7e34
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ node_js:
- 10

before_script:
# Codecov preparation.
- npm install -g codecov

# CodeClimate preparation.
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter -d before-build
Expand All @@ -21,4 +25,8 @@ script:
yarn test-ci

after_script:
# CodeCode report.
- codecov

# CodeClimate report.
- ./cc-test-reporter after-build -d --exit-code $TRAVIS_TEST_RESULT
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"babel-polyfill": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-stage-0": "^6.22.0",
"codecov": "^3.0.4",
"eslint": "^4.19.1",
"eslint-plugin-react": "^7.7.0",
"growl": "^1.9.2",
Expand Down

0 comments on commit a0f7e34

Please sign in to comment.