Skip to content

Commit

Permalink
update codeclimate to new standard
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce17 committed Mar 1, 2019
1 parent 8c7ef40 commit 473b4e1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ node_js:
# run before everey other script
before_script:
- npm install

# New way to prepare codeclimate
- 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

# run some scripts
script:
Expand All @@ -28,9 +33,9 @@ script:
- npm run-script test-travis

# trigger some additional tools after success
after_success:
after_script:
# send coverage data to coveralls
- npm run-script coveralls
# send coverage data to codeclimate
- npm run-script codeclimate
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
},
"homepage": "https://github.com/Bruce17/safe-compare#readme",
"devDependencies": {
"codeclimate-test-reporter": "^0.4.0",
"coveralls": "^2.11.14",
"istanbul": "^0.4.5",
"matcha": "^0.7.0",
Expand Down

0 comments on commit 473b4e1

Please sign in to comment.