Compare commits

...

2 Commits

Author SHA1 Message Date
49c2e0909d 3.0.16 2017-09-08 23:24:50 +02:00
124d7b9f0a update ci 2017-09-08 23:24:44 +02:00
2 changed files with 29 additions and 17 deletions

View File

@@ -1,24 +1,31 @@
# gitzone standard # gitzone standard
image: hosttoday/ht-docker-node:stable image: hosttoday/ht-docker-node:npmci
cache: cache:
paths: paths:
- .yarn/ - .yarn/
key: "$CI_BUILD_STAGE" key: "$CI_BUILD_STAGE"
mirror:
stage: mirror
script:
- npmci git mirror
tags:
- docker
stages: stages:
- mirror
- test - test
- release - release
- trigger - trigger
- pages - pages
before_script:
- yarn global add npmci@2.4.1
testLEGACY: testLEGACY:
stage: test stage: test
script: script:
- npmci test legacy - npmci node install legacy
- npmci npm install
- npmci npm test
coverage: /\d+.?\d+?\%\s*coverage/ coverage: /\d+.?\d+?\%\s*coverage/
tags: tags:
- docker - docker
@@ -27,7 +34,9 @@ testLEGACY:
testLTS: testLTS:
stage: test stage: test
script: script:
- npmci test lts - npmci node install lts
- npmci npm install
- npmci npm test
coverage: /\d+.?\d+?\%\s*coverage/ coverage: /\d+.?\d+?\%\s*coverage/
tags: tags:
- docker - docker
@@ -35,7 +44,9 @@ testLTS:
testSTABLE: testSTABLE:
stage: test stage: test
script: script:
- npmci test stable - npmci node install stable
- npmci npm install
- npmci npm test
coverage: /\d+.?\d+?\%\s*coverage/ coverage: /\d+.?\d+?\%\s*coverage/
tags: tags:
- docker - docker
@@ -43,7 +54,8 @@ testSTABLE:
release: release:
stage: release stage: release
script: script:
- npmci publish npm - npmci npm prepare
- npmci npm publish
only: only:
- tags - tags
tags: tags:

View File

@@ -1,6 +1,6 @@
{ {
"name": "npmci", "name": "npmci",
"version": "3.0.15", "version": "3.0.16",
"description": "node and docker in gitlab ci on steroids", "description": "node and docker in gitlab ci on steroids",
"main": "dist/index.js", "main": "dist/index.js",
"typings": "dist/index.d.ts", "typings": "dist/index.d.ts",