Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CodeClimate code coverage reporting #989

Merged
merged 2 commits into from
Jun 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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