add gitlab ci

This commit is contained in:
Philipp Kunz 2016-05-29 21:37:49 +02:00
parent 136a06ff68
commit 2b52b76ac6
2 changed files with 35 additions and 3 deletions

32
.gitlab-ci.yml Normal file
View File

@ -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

View File

@ -9,7 +9,7 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/pushrocks/smartstring.git" "url": "git+https://gitlab.com/pushrocks/smartstring.git"
}, },
"keywords": [ "keywords": [
"regex", "regex",
@ -18,9 +18,9 @@
"author": "Lossless GmbH", "author": "Lossless GmbH",
"license": "MIT", "license": "MIT",
"bugs": { "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": { "devDependencies": {
"npmts": "^5.1.13", "npmts": "^5.1.13",
"should": "^8.4.0", "should": "^8.4.0",