ci mode for tests

This commit is contained in:
lukas 2020-06-09 21:54:52 +02:00
parent 2a7c2012ee
commit f381dc8e4f

View File

@ -13,16 +13,20 @@ test:
stage: test
script:
- npm install
- npm run test
- CI=true npm run test
artifacts:
reports:
junit:
- ./junit.xml
coverage:
stage: coverage
script:
- npm run coverage
- CI=true npm run coverage
artifacts:
reports:
cobertura: coverage/cobertura-coverage.xml
junit: junit.xml
cobertura:
- ./coverage/cobertura-coverage.xml
build:
stage: build