Skip to content
Snippets Groups Projects
Commit ed916a51 authored by Lars Trieloff's avatar Lars Trieloff
Browse files

[trivial] add Junit reporting for CircleCI

parent 6a28a7d5
Branches
Tags
No related merge requests found
...@@ -28,7 +28,7 @@ jobs: ...@@ -28,7 +28,7 @@ jobs:
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc - run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- run: npm install - run: npm install && npm i jasmine-xml-reporter
- save_cache: - save_cache:
paths: paths:
...@@ -36,7 +36,12 @@ jobs: ...@@ -36,7 +36,12 @@ jobs:
key: v1-dependencies-{{ checksum "package.json" }} key: v1-dependencies-{{ checksum "package.json" }}
# run tests! # run tests!
- run: npm test - run: ./node_modules/jasmine-xml-reporter/bin/jasmine.js --junitreport --output=junit
- store_test_results:
path: junit
- store_artifacts:
path: junit
- run: BUILD_TAG=$(./node_modules/.bin/npm-snapshot $CIRCLE_BUILD_NUM) echo 'export BUILD_TAG=$BUILD_TAG' >> $BASH_ENV - run: BUILD_TAG=$(./node_modules/.bin/npm-snapshot $CIRCLE_BUILD_NUM) echo 'export BUILD_TAG=$BUILD_TAG' >> $BASH_ENV
- run: - run:
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
## / ## /
* [Abstract](./abstract.schema.md)`https://example.com/schemas/abstract`
* [Arrays](./arrays.schema.md)`https://example.com/schemas/arrays` * [Arrays](./arrays.schema.md)`https://example.com/schemas/arrays`
* [Complex References ](./complex.schema.md)`https://example.com/schemas/complex` * [Complex References ](./complex.schema.md)`https://example.com/schemas/complex`
* [Constant Types](./constants.schema.md)`https://example.com/schemas/constants` * [Constant Types](./constants.schema.md)`https://example.com/schemas/constants`
...@@ -19,7 +20,6 @@ ...@@ -19,7 +20,6 @@
* [Extensible](./extensible.schema.md)`https://example.com/schemas/extensible` * [Extensible](./extensible.schema.md)`https://example.com/schemas/extensible`
* [Simple](./simple.schema.md)`https://example.com/schemas/simple` * [Simple](./simple.schema.md)`https://example.com/schemas/simple`
* [Simple Types](./simpletypes.schema.md)`https://example.com/schemas/simpletypes` * [Simple Types](./simpletypes.schema.md)`https://example.com/schemas/simpletypes`
* [Abstract](./abstract.schema.md)`https://example.com/schemas/abstract`
## /subdir/ ## /subdir/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment