Code coverage reports (#165)

* travis settings update

* travis update

* enable coverage reports
This commit is contained in:
Denys Vuika
2017-12-18 15:33:18 +02:00
committed by Cilibiu Bogdan
parent dfb676a29b
commit 92c147fae3
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -20,4 +20,7 @@ install:
script:
- xvfb-run -a npm run test -- --single-run --no-progress --browser=ChromeNoSandbox
#- xvfb-run -a npm run e2e -- --no-progress --config=protractor-ci.conf.js
# Send coverage data to codecov
after_success:
bash <(curl -s https://codecov.io/bash) -X gcov
+1 -1
View File
@@ -9,7 +9,7 @@
"build:prod": "npm run server-versions && ng build --prod",
"build:dev": "npm run server-versions && ng build && node postbuild-dev.js",
"build:tomcat": "npm run server-versions && ng build --base-href ./",
"test": "ng test",
"test": "ng test --code-coverage",
"lint": "ng lint",
"e2e": "ng e2e",
"server-versions": "rimraf ./src/versions.json && npm list --depth=0 --json=true --prod=true > ./src/versions.json || exit 0"