add gitlab ci

This commit is contained in:
LosslessBot 2016-05-26 21:18:14 +02:00
parent ecf0666103
commit 2bc2d11a2d

35
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,35 @@
image: hosttoday/ht-docker-node
stages:
- test
- release
variables:
LTS: 4
STABLE: stable
testLTS:
stage: test
script:
- nvm install $LTS
- npm test
tags:
- docker
testSTABLE:
stage: test
script:
- nvm install $STABLE
- npm test
tags:
- docker
release:
stage: release
script:
-
- npm -v
only:
- master
tags:
- docker