update ci

This commit is contained in:
Philipp Kunz 2017-03-04 13:53:18 +01:00
parent 1e0557b722
commit 144295f7c0
2 changed files with 32 additions and 5 deletions

View File

@ -1,26 +1,37 @@
# gitzone standard
image: hosttoday/ht-docker-node:npmts
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
testSTABLE:
stage: test
script:
- npmci test stable
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
release:
stage: release
script:
@ -29,14 +40,24 @@ release:
- tags
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 command npmpage --host gitlab
- npmci command npmpage --publish gitlab
only:
- tags
artifacts:
expire_in: 1 week
paths:
- public
- public

View File

@ -1 +1,7 @@
{}
{
"npmci": {
"globalNpmTools": [
"npmts"
]
}
}