Skip to content
Permalink
Browse files

adds codeclimate configuration

  • Loading branch information...
acodeninja committed Apr 9, 2019
1 parent dc642ac commit 1cb0685655e4cac6fd41a717ca73807bf9412457
Showing with 17 additions and 1 deletion.
  1. +8 −0 .travis.yml
  2. +9 −1 package.json
@@ -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
@@ -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.
You can’t perform that action at this time.