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 stage: test
script: script:
- npm install - npm install
- npm run test - CI=true npm run test
artifacts:
reports:
junit:
- ./junit.xml
coverage: coverage:
stage: coverage stage: coverage
script: script:
- npm run coverage - CI=true npm run coverage
artifacts: artifacts:
reports: reports:
cobertura: coverage/cobertura-coverage.xml cobertura:
junit: junit.xml - ./coverage/cobertura-coverage.xml
build: build:
stage: build stage: build