From 44ba6ec46d20a0cf2b97a2a4b3dd6c3ed1daaa65 Mon Sep 17 00:00:00 2001 From: PhilKunz Date: Tue, 20 Sep 2016 12:19:00 +0200 Subject: [PATCH] add gitlab ci --- .gitlab-ci.yml | 34 ++++++++++++++++++++++++++++++++++ test/assets/index.html | 6 ++++++ 2 files changed, 40 insertions(+) create mode 100644 .gitlab-ci.yml create mode 100644 test/assets/index.html diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..8b26238 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,34 @@ +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 + environment: npm_registry + script: + - npmci publish + only: + - tags + tags: + - docker \ No newline at end of file diff --git a/test/assets/index.html b/test/assets/index.html new file mode 100644 index 0000000..f61b8e4 --- /dev/null +++ b/test/assets/index.html @@ -0,0 +1,6 @@ + + Test + + + Test + \ No newline at end of file