Skip to content

Commit

Permalink
adds codeclimate configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
acodeninja committed Apr 9, 2019
1 parent dc642ac commit 1cb0685
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .travis.yml
@@ -1,3 +1,11 @@
language: node_js
node_js:
- "11.13.0"
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:
- yarn test --coverage
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
10 changes: 9 additions & 1 deletion package.json
Expand Up @@ -21,5 +21,13 @@
"not dead",
"not ie <= 11",
"not op_mini all"
]
],
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"coverageReporters": [
"lcov"
]
}
}

0 comments on commit 1cb0685

Please sign in to comment.