smartcli/.gitlab-ci.yml

50 lines
651 B
YAML
Raw Normal View History

2016-09-04 15:34:29 +00:00
image: hosttoday/ht-docker-node:npmts
2016-06-09 12:02:21 +00:00
stages:
- test
- release
2016-09-04 15:32:26 +00:00
- page
2016-06-09 12:02:21 +00:00
testLEGACY:
stage: test
script:
- npmci test legacy
tags:
- docker
allow_failure: true
testLTS:
stage: test
script:
- npmci test lts
tags:
- docker
testSTABLE:
stage: test
script:
- npmci test stable
tags:
- docker
release:
stage: release
script:
- npmci publish
only:
- tags
tags:
- docker
2016-09-04 15:32:26 +00:00
pages:
image: hosttoday/ht-docker-node:npmpage
stage: page
script:
2016-09-04 15:36:07 +00:00
- npmci test stable
2016-09-04 15:32:26 +00:00
- npmci command npmpage --host gitlab
only:
- tags
artifacts:
expire_in: 1 week
paths:
- public