From 47667d0d5993b579484c4eedf89c96e135b0741f Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Fri, 8 Sep 2017 23:25:53 +0200 Subject: [PATCH] rollback ci --- .gitlab-ci.yml | 44 ++++++++++++++++---------------------------- 1 file changed, 16 insertions(+), 28 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 01addc4..7123311 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,74 +1,62 @@ # gitzone standard -image: hosttoday/ht-docker-node:npmci +image: hosttoday/ht-docker-node:stable cache: paths: - .yarn/ key: "$CI_BUILD_STAGE" -mirror: - stage: mirror - script: - - npmci git mirror - tags: - - docker - stages: -- mirror - test - release - trigger - pages +before_script: + - yarn global add npmci@2.4.1 + testLEGACY: stage: test script: - - npmci node install legacy - - npmci npm install - - npmci npm test + - npmci test legacy coverage: /\d+.?\d+?\%\s*coverage/ tags: - - docker + - docker allow_failure: true testLTS: stage: test script: - - npmci node install lts - - npmci npm install - - npmci npm test + - npmci test lts coverage: /\d+.?\d+?\%\s*coverage/ tags: - - docker + - docker testSTABLE: stage: test script: - - npmci node install stable - - npmci npm install - - npmci npm test + - npmci test stable coverage: /\d+.?\d+?\%\s*coverage/ tags: - - docker + - docker release: stage: release script: - - npmci npm prepare - - npmci npm publish + - npmci publish npm only: - - tags + - tags tags: - - docker + - docker trigger: stage: trigger script: - - npmci trigger + - npmci trigger only: - - tags + - tags tags: - - docker + - docker pages: image: hosttoday/ht-docker-node:npmci