update gitlab ci

This commit is contained in:
Philipp Kunz 2017-03-11 15:11:37 +01:00
parent 0b94ab3a04
commit 7b238535c8

View File

@ -1,21 +1,32 @@
image: hosttoday/ht-docker-node:npmts
# gitzone standard
image: hosttoday/ht-docker-node:npmci
cache:
paths:
- .yarn/
key: "$CI_BUILD_STAGE"
untracked: true
stages:
- test
- release
- page
- trigger
- pages
testLEGACY:
stage: test
script:
- npmci test legacy
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
allow_failure: true
testLTS:
stage: test
script:
- npmci test lts
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
@ -23,6 +34,7 @@ testSTABLE:
stage: test
script:
- npmci test stable
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
@ -35,12 +47,20 @@ release:
tags:
- docker
trigger:
stage: trigger
script:
- npmci trigger
only:
- tags
tags:
- docker
pages:
image: hosttoday/ht-docker-node:npmpage
stage: page
stage: pages
script:
- npmci test stable
- npmci command npmpage --host gitlab
- npmci command npmpage --publish gitlab
only:
- tags
artifacts: