tscoverage/.gitlab-ci.yml

72 lines
986 B
YAML
Raw Permalink Normal View History

2017-04-30 16:22:34 +00:00
# gitzone standard
2016-08-30 21:18:04 +00:00
image: hosttoday/ht-docker-node:npmci
2016-05-26 19:18:14 +00:00
2017-04-30 16:22:34 +00:00
cache:
paths:
- .yarn/
key: "$CI_BUILD_STAGE"
2016-05-26 19:18:14 +00:00
stages:
- test
- release
2016-06-09 22:55:29 +00:00
- trigger
2016-08-30 21:18:04 +00:00
- pages
2016-05-26 19:18:14 +00:00
2016-06-03 14:46:10 +00:00
testLEGACY:
stage: test
script:
- npmci test legacy
2017-04-30 16:22:34 +00:00
coverage: /\d+.?\d+?\%\s*coverage/
2016-06-03 14:46:10 +00:00
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
2017-04-30 16:22:34 +00:00
coverage: /\d+.?\d+?\%\s*coverage/
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
2017-04-30 16:22:34 +00:00
coverage: /\d+.?\d+?\%\s*coverage/
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-08-30 21:18:04 +00:00
pages:
2017-04-01 18:58:23 +00:00
image: hosttoday/ht-docker-node:npmci
2016-08-30 21:18:04 +00:00
stage: pages
script:
2017-04-01 19:02:47 +00:00
- npmci command yarn global add npmpage
2017-04-30 16:22:34 +00:00
- npmci command npmpage --publish gitlab
2017-03-31 15:02:19 +00:00
tags:
- docker
2017-04-30 16:22:34 +00:00
only:
- tags
2016-08-30 21:18:04 +00:00
artifacts:
expire_in: 1 week
paths:
2016-08-31 11:02:10 +00:00
- public