add .gitlab-ci.yml

This commit is contained in:
Philipp Kunz 2016-06-01 01:08:49 +02:00
parent bd3ad78624
commit 22bc646de6

40
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,40 @@
image: hosttoday/ht-docker-node:latest
stages:
- test
- release
- page
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
pages:
stage: page
script:
- mkdir public
- npmci npmpage
artifacts:
paths:
- public
only:
- tags