-
-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): report test coverage to code climate
- Loading branch information
1 parent
4f849e3
commit 52d0fe0
Showing
1 changed file
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
env: | ||
global: | ||
- CC_TEST_REPORTER_ID=d89a1aab357b12d8de6b1592d16fa766e2dddf8e3c5e5064f5333ab8444e5382 | ||
language: node_js | ||
|
||
sudo: false | ||
|
||
matrix: | ||
fast_finish: true | ||
node_js: | ||
- 6 | ||
|
||
- 8.11.1 | ||
before_script: | ||
- npm install -g codeclimate-test-reporter | ||
- npm run build | ||
|
||
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./codeclimate-test-reporter | ||
- chmod +x ./codeclimate-test-reporter | ||
- ./codeclimate-test-reporter before-build | ||
- npm run build | ||
script: | ||
- npm test | ||
- npm run lint | ||
- npm run test:jest | ||
after_script: | ||
- ./codeclimate-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT |