npmci/.gitlab-ci.yml

40 lines
498 B
YAML
Raw Permalink Normal View History

2016-05-30 01:11:13 +00:00
image: hosttoday/ht-docker-node:latest
2016-05-30 00:28:47 +00:00
stages:
- test
- release
testLTS:
stage: test
script:
2016-05-30 00:48:08 +00:00
- npmci test lts
2016-05-30 00:28:47 +00:00
tags:
- docker
2016-06-02 16:09:07 +00:00
before_script:
- npm uninstall -g npmci
- npm install -g npmci
2016-05-30 00:28:47 +00:00
testSTABLE:
stage: test
script:
2016-05-30 00:35:44 +00:00
- npmci test stable
2016-05-30 00:28:47 +00:00
tags:
- docker
2016-06-01 03:58:43 +00:00
testLEGACY:
stage: test
script:
- npmci test legacy
tags:
- docker
2016-06-01 06:29:14 +00:00
allow_failure: true
2016-05-30 00:28:47 +00:00
release:
stage: release
script:
2016-05-30 00:35:44 +00:00
- npmci publish
2016-05-30 00:28:47 +00:00
only:
- tags
tags:
- docker