Use artifacts plugin

This commit is contained in:
Nabeel Shahzad
2019-05-08 10:50:46 -05:00
parent de6420ad59
commit 56c2115144

View File

@@ -36,9 +36,10 @@ jobs:
include:
- stage: package
script: skip
if: branch IN (master, dev)
before_deploy:
- curl -sL https://raw.githubusercontent.com/travis-ci/artifacts/master/install | bash
#before_deploy:
# - curl -sL https://raw.githubusercontent.com/travis-ci/artifacts/master/install | bash
# Configure the conditional deployment
# https://docs.travis-ci.com/user/deployment/#examples-of-conditional-deployment
deploy:
- provider: script
skip_cleanup: true
@@ -48,7 +49,7 @@ jobs:
- stage: release
script: skip
before_deploy:
- curl -sL https://raw.githubusercontent.com/travis-ci/artifacts/master/install | bash
#- curl -sL https://raw.githubusercontent.com/travis-ci/artifacts/master/install | bash
- ./.travis/deploy_script.sh
deploy:
provider: releases
@@ -61,3 +62,6 @@ jobs:
tags: true
repo: nabeelio/phpvms
php: '7.2'
addons:
artifacts: true