From 2b52b76ac6560b3677f0209c2b684426703b065a Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sun, 29 May 2016 21:37:49 +0200 Subject: [PATCH] add gitlab ci --- .gitlab-ci.yml | 32 ++++++++++++++++++++++++++++++++ package.json | 6 +++--- 2 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..a28dec0 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,32 @@ +image: hosttoday/ht-docker-node + +stages: +- test +- release + +testLTS: + stage: test + script: + - npmci install 4 + - npm install + - npm test + tags: + - docker + +testSTABLE: + stage: test + script: + - npmci install stable + - npm install + - npm test + tags: + - docker + +release: + stage: release + script: + - npm -v + only: + - tags + tags: + - docker \ No newline at end of file diff --git a/package.json b/package.json index ee3a54f..44545bc 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/pushrocks/smartstring.git" + "url": "git+https://gitlab.com/pushrocks/smartstring.git" }, "keywords": [ "regex", @@ -18,9 +18,9 @@ "author": "Lossless GmbH", "license": "MIT", "bugs": { - "url": "https://github.com/pushrocks/smartstring/issues" + "url": "https://gitlab.com/pushrocks/smartstring/issues" }, - "homepage": "https://github.com/pushrocks/smartstring#readme", + "homepage": "https://gitlab.com/pushrocks/smartstring#readme", "devDependencies": { "npmts": "^5.1.13", "should": "^8.4.0",