2016-06-09 22:55:29 +00:00
|
|
|
image: hosttoday/ht-docker-node:npmts
|
2016-05-26 19:18:14 +00:00
|
|
|
|
|
|
|
stages:
|
|
|
|
- test
|
|
|
|
- release
|
2016-06-09 22:55:29 +00:00
|
|
|
- trigger
|
2016-05-30 05:05:17 +00:00
|
|
|
- page
|
2016-05-26 19:18:14 +00:00
|
|
|
|
2016-06-03 14:46:10 +00:00
|
|
|
testLEGACY:
|
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
- npmci test legacy
|
|
|
|
tags:
|
|
|
|
- docker
|
2016-06-07 07:02:58 +00:00
|
|
|
allow_failure: true
|
2016-06-03 14:46:10 +00:00
|
|
|
|
2016-05-26 19:18:14 +00:00
|
|
|
testLTS:
|
|
|
|
stage: test
|
|
|
|
script:
|
2016-05-30 03:42:24 +00:00
|
|
|
- npmci test lts
|
2016-05-26 19:18:14 +00:00
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
testSTABLE:
|
|
|
|
stage: test
|
|
|
|
script:
|
2016-05-30 03:42:24 +00:00
|
|
|
- npmci test stable
|
2016-05-26 19:18:14 +00:00
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
release:
|
|
|
|
stage: release
|
|
|
|
script:
|
2016-05-30 03:42:24 +00:00
|
|
|
- npmci publish
|
2016-05-26 19:18:14 +00:00
|
|
|
only:
|
2016-05-29 19:04:44 +00:00
|
|
|
- tags
|
2016-05-26 19:18:14 +00:00
|
|
|
tags:
|
2016-05-30 05:05:17 +00:00
|
|
|
- docker
|
2016-06-09 22:55:29 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
stage: trigger
|
|
|
|
script:
|
|
|
|
- npmci trigger
|
|
|
|
only:
|
|
|
|
- tags
|
|
|
|
tags:
|
|
|
|
- docker
|
2016-05-30 05:05:17 +00:00
|
|
|
|
2016-05-30 05:49:41 +00:00
|
|
|
pages:
|
2016-05-30 05:05:17 +00:00
|
|
|
stage: page
|
|
|
|
script:
|
|
|
|
- npmci test lts
|
|
|
|
- mkdir .public
|
2016-05-30 05:30:01 +00:00
|
|
|
- cp -r test/assets/docs/ .public
|
|
|
|
- cp -r test/assets/coverage/ .public
|
2016-05-30 05:05:17 +00:00
|
|
|
- mv .public public
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- public
|
|
|
|
only:
|
2016-06-03 14:57:03 +00:00
|
|
|
- tags
|