cloudflare/.gitlab-ci.yml

60 lines
740 B
YAML
Raw Normal View History

2016-06-19 18:09:41 +00:00
image: hosttoday/ht-docker-node:npmts
2016-05-30 04:09:13 +00:00
stages:
2017-01-29 16:29:06 +00:00
- test
2016-05-30 04:09:13 +00:00
- release
2017-01-29 16:29:06 +00:00
- trigger
- pages
2016-05-30 04:09:13 +00:00
2016-06-19 18:09:41 +00:00
testLEGACY:
2017-01-29 16:29:06 +00:00
stage: test
2016-06-19 18:09:41 +00:00
script:
2016-06-21 17:08:31 +00:00
- npmci test legacy
2016-06-19 18:09:41 +00:00
tags:
- docker
2017-01-29 16:29:06 +00:00
allow_failure: true
2016-06-19 18:09:41 +00:00
2016-05-30 04:09:13 +00:00
testLTS:
2017-01-29 16:29:06 +00:00
stage: test
2016-05-30 04:09:13 +00:00
script:
- npmci test lts
tags:
- docker
testSTABLE:
2017-01-29 16:29:06 +00:00
stage: test
2016-05-30 04:09:13 +00:00
script:
- npmci test stable
tags:
- docker
release:
stage: release
script:
- npmci publish
only:
- tags
tags:
2017-01-29 16:29:06 +00:00
- 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