diff --git a/.travis.yml b/.travis.yml index a6cb2f748e5564671c56db9c90b673fbd0bf1f1f..5df11b0cbc2dec89f0b65317e48554f05f68216d 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