From 2bc2d11a2d26850e83cbd17453618bb707fe8bed Mon Sep 17 00:00:00 2001 From: LosslessBot Date: Thu, 26 May 2016 21:18:14 +0200 Subject: [PATCH] add gitlab ci --- .gitlab-ci.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..1174fde --- /dev/null +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file