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 ...@@ -22,3 +22,5 @@ logs
node_modules node_modules
.vscode/ .vscode/
mochawesome-reports/
...@@ -29,4 +29,18 @@ test_lib-ical: ...@@ -29,4 +29,18 @@ test_lib-ical:
- npm install - npm install
- npm install -g typescript ts-node gulp-cli - npm install -g typescript ts-node gulp-cli
script: 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 @@ ...@@ -8,8 +8,9 @@
"dist/" "dist/"
], ],
"scripts": { "scripts": {
"test": "mocha -R nyan -r ts-node/register test/**/*.spec.ts", "test": "mocha -R nyan -r ts-node/register test/**/*.spec.ts",
"lint": "tslint -r tslint.json src/**/*.ts" "glabCLI": "mocha -R mochawesome -r ts-node/register test/**/*.spec.ts",
"lint": "tslint -r tslint.json src/**/*.ts"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
...@@ -24,6 +25,7 @@ ...@@ -24,6 +25,7 @@
"@types/sinon": "^1.16.35", "@types/sinon": "^1.16.35",
"chai": "^3.5.0", "chai": "^3.5.0",
"mocha": "^3.2.0", "mocha": "^3.2.0",
"mochawesome": "^2.0.4",
"sinon": "^1.17.7", "sinon": "^1.17.7",
"ts-node": "^2.1.0", "ts-node": "^2.1.0",
"tslint": "^4.4.2", "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