add gitlab-ci yml

This commit is contained in:
Philipp Kunz 2016-06-12 16:50:29 +02:00
parent 53a5a3a805
commit 1aae44a0ec

46
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,46 @@
image: hosttoday/ht-docker-node:npmts
stages:
- test
- release
- trigger
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
trigger:
stage: trigger
script:
- npmci trigger
only:
- tags
tags:
- docker