update to new ci

This commit is contained in:
Philipp Kunz 2017-01-29 17:29:06 +01:00
parent bf15b8aec7
commit 078731fe7b

View File

@ -1,35 +1,30 @@
image: hosttoday/ht-docker-node:npmts image: hosttoday/ht-docker-node:npmts
stages: stages:
- test1 - test
- test2
- test3
- release - release
- trigger
- pages
testLEGACY: testLEGACY:
stage: test1 stage: test
script: script:
- npmci test legacy - npmci test legacy
only:
- tags
tags: tags:
- docker - docker
allow_failure: true
testLTS: testLTS:
stage: test2 stage: test
script: script:
- npmci test lts - npmci test lts
only:
- tags
tags: tags:
- docker - docker
testSTABLE: testSTABLE:
stage: test3 stage: test
script: script:
- npmci test stable - npmci test stable
only:
- tags
tags: tags:
- docker - docker
@ -41,3 +36,24 @@ release:
- tags - tags
tags: tags:
- docker - docker
trigger:
stage: trigger
script:
- npmci trigger
only:
- tags
tags:
- docker
pages:
image: hosttoday/ht-docker-node:npmpage
stage: pages
script:
- npmci command npmpage --publish gitlab
only:
- tags
artifacts:
expire_in: 1 week
paths:
- public