Skip to content

Commit

Permalink
add codeclimate
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz committed Dec 14, 2017
1 parent 1a8ab1e commit 1c5e55e
Show file tree
Hide file tree
Showing 3 changed files with 286 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ script:
- "npm run test"
after_success:
- "npm run coverage"
- "npm run codeclimate"
283 changes: 283 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.0",
"description": "Basic Travis configuration for JavaScript projects",
"scripts": {
"codeclimate": "nyc report --reporter=text-lcov | codeclimate-test-reporter",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"test": "nyc --reporter=html --reporter=text mocha \"test/**/*_spec.js\""
},
Expand All @@ -17,6 +18,7 @@
},
"homepage": "https://github.com/dubzzz/basictravisjavascript#readme",
"devDependencies": {
"codeclimate-test-reporter": "^0.5.0",
"coveralls": "^3.0.0",
"mocha": "^4.0.1",
"nyc": "^11.3.0"
Expand Down

0 comments on commit 1c5e55e

Please sign in to comment.