From d0a0f97dca02cb1d1d5925c528ef3cda62c68aae Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Wed, 6 Jul 2016 03:17:45 +0200 Subject: [PATCH] add gitlab ci --- .gitlab-ci.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..e949b71 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,36 @@ +image: hosttoday/ht-docker-node:npmts + +stages: +- test +- release + +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 \ No newline at end of file