From 6211c6eec98789286f120daddc7fb0552fa9d0c5 Mon Sep 17 00:00:00 2001 From: Huan LI Date: Tue, 29 May 2018 02:26:07 +0800 Subject: [PATCH] keep the other one --- .travis.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index a6cb2f74..5df11b0c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,9 +20,8 @@ cache: stages: - test - pack - - deploy - # - name: deploy - # if: (type = push) AND branch =~ ^(master|v\d+\.\d+)$ + - name: deploy + if: (type = push) AND branch =~ ^(master|v\d+\.\d+)$ before_install: - if [ "$TRAVIS_OS_NAME" == 'osx' ]; then ./scripts/prepare-osx.sh; fi @@ -47,10 +46,10 @@ jobs: - echo "NPM Pack Testing Finished." - stage: deploy - branches: - only: - - master - - /^v\d+\.\d+$/ + # branches: + # only: + # - master + # - /^v\d+\.\d+$/ script: - echo "NPM Deploying Started ..." - npm version -- GitLab