Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Commit

Permalink
Generate and upload coverage report in frontend build.
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Kaserbacher <alexander.kaserbacher@tngtech.com>
  • Loading branch information
Alexander Kaserbacher committed Sep 5, 2018
1 parent aa9ddde commit 9b9e469
Show file tree
Hide file tree
Showing 3 changed files with 209 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ matrix:
- npm install
script:
- ng lint
- ng test --watch=false
- ng test --watch=false --code-coverage
after_success:
- node_modules/.bin/stryker run
- npm run coveralls
after_script:
- cd ..
env:
Expand Down
206 changes: 204 additions & 2 deletions frontend/package-lock.json

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

4 changes: 3 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"postinstall": "node patch.js"
"postinstall": "node patch.js",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
"private": true,
"dependencies": {
Expand Down Expand Up @@ -46,6 +47,7 @@
"@types/jasminewd2": "~2.0.2",
"@types/node": "~6.0.60",
"codelyzer": "^4.0.1",
"coveralls": "^3.0.2",
"jasmine-core": "~2.8.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "^2.0.4",
Expand Down

0 comments on commit 9b9e469

Please sign in to comment.