tsdocker/.gitlab-ci.yml

43 lines
532 B
YAML
Raw Normal View History

image: hosttoday/ht-docker-dbase:npmts
2016-07-29 01:05:01 +00:00
services:
- docker:dind
2016-07-13 21:17:24 +00:00
stages:
- test
- release
2016-07-29 01:09:25 +00:00
- trigger
2016-07-13 21:17:24 +00:00
2016-07-28 22:54:25 +00:00
test:
2016-07-13 21:17:24 +00:00
stage: test
script:
2016-07-29 01:03:07 +00:00
- npm install
2016-07-28 22:54:25 +00:00
- npm test
2016-07-13 21:17:24 +00:00
tags:
- docker
2016-07-28 22:55:11 +00:00
- lossless
- priv
2016-07-13 21:17:24 +00:00
release:
2016-07-29 01:16:04 +00:00
image: hosttoday/ht-docker-node:npmts
2016-07-13 21:17:24 +00:00
stage: release
2016-07-20 15:44:06 +00:00
environment: npmjs-com_registry
2016-07-13 21:17:24 +00:00
script:
- npmci publish
only:
- tags
tags:
- docker
2016-07-29 01:09:25 +00:00
- lossless
- priv
trigger:
stage: trigger
script:
- npmci trigger
only:
- tags
tags:
- docker
- lossless
- priv