CI settings (#524)

* add test with coverage to travis

* update circle-ci settings
This commit is contained in:
Denys Vuika
2018-07-20 19:57:16 +01:00
committed by GitHub
parent 97db087c4d
commit d9e59cfd73
3 changed files with 10 additions and 2 deletions
+1
View File
@@ -12,6 +12,7 @@
"build:tomcat": "npm run server-versions && ng build --base-href ./",
"build:electron": "npm run server-versions && ng build --output-path www --base-href ./",
"test": "ng test --code-coverage",
"test:pr": "ng test --single-run --no-progress",
"test:ci": "ng test --code-coverage --single-run --no-progress && cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage && rm -rf ./coverage",
"lint": "ng lint",
"server-versions": "rimraf ./src/versions.json && npm list --depth=0 --json=true --prod=true > ./src/versions.json || exit 0",