Commit 38b0d6ce authored by Mark Stenglein's avatar Mark Stenglein
Browse files

Add amazing gitlab pages reporting

parent f67b7db5
Pipeline #999 failed
......@@ -22,3 +22,5 @@ logs
node_modules
.vscode/
mochawesome-reports/
......@@ -29,4 +29,18 @@ test_lib-ical:
- npm install
- npm install -g typescript ts-node gulp-cli
script:
- npm test
- npm run glabCLI
pages:
stage: deploy
script:
- mkdir .public
- cp -r mocawesome-reports/* .public
- mv .public public
- mv public/mochawesome.html public/index.html
artifacts:
paths:
- public
only:
- develop
......@@ -8,8 +8,9 @@
"dist/"
],
"scripts": {
"test": "mocha -R nyan -r ts-node/register test/**/*.spec.ts",
"lint": "tslint -r tslint.json src/**/*.ts"
"test": "mocha -R nyan -r ts-node/register test/**/*.spec.ts",
"glabCLI": "mocha -R mochawesome -r ts-node/register test/**/*.spec.ts",
"lint": "tslint -r tslint.json src/**/*.ts"
},
"repository": {
"type": "git",
......@@ -24,6 +25,7 @@
"@types/sinon": "^1.16.35",
"chai": "^3.5.0",
"mocha": "^3.2.0",
"mochawesome": "^2.0.4",
"sinon": "^1.17.7",
"ts-node": "^2.1.0",
"tslint": "^4.4.2",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment