Skip to content

Commit

Permalink
Add CodeClimate code coverage reporting (#989)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbieTheWagner committed Jun 12, 2019
1 parent 3758aeb commit d382a84
Show file tree
Hide file tree
Showing 3 changed files with 208 additions and 14 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ dist: trusty

addons:
chrome: stable
code_climate:
repo_token:
secure: "c6plog6XM1LZXQlitlMbmH4p0FbFnBMDZmGRndMLXxvEYfKiUcoBWvtuWJtetO0uUCZlp3DyBmk6hU1joeaQxn13DUjQeZNYC1VGVO0HmzBDH+9t+o+PAekBmG01hP2CWyem2OYb2PemHAln98wsxQTCUJmqrSblAxdty2qNrR4="

cache:
yarn: true
Expand Down Expand Up @@ -50,6 +53,9 @@ install:
script:
- travis_retry node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO --- node_modules/.bin/ember test --filter="Ember Debug"

after_script:
- codeclimate-test-reporter < coverage/lcov.info

before_deploy:
- yarn run build:production

Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"lint:hbs": "ember-template-lint .",
"lint:js": "eslint .",
"start": "ember serve",
"test": "ember test",
"test": "COVERAGE=true ember test",
"watch": "ember build --watch",
"serve:bookmarklet": "ember serve --port 9191",
"build:production": "EMBER_ENV=production node scripts/download-panes.js && ember build --environment production && gulp compress:chrome && gulp compress:firefox && gulp clean-tmp",
Expand Down Expand Up @@ -46,11 +46,13 @@
"broccoli-merge-trees": "^3.0.2",
"broccoli-stew": "^2.1.0",
"broccoli-string-replace": "^0.1.1",
"codeclimate-test-reporter": "^0.5.1",
"compare-versions": "^3.4.0",
"del": "^4.1.1",
"ember-cli": "~3.10.1",
"ember-cli-app-version": "^3.2.0",
"ember-cli-babel": "^7.7.3",
"ember-cli-code-coverage": "^1.0.0-beta.8",
"ember-cli-dependency-checker": "^3.1.0",
"ember-cli-eslint": "^5.1.0",
"ember-cli-htmlbars": "^3.0.1",
Expand Down
Loading

0 comments on commit d382a84

Please sign in to comment.