Commit 6da11bf7 authored by Tino Goratsch's avatar Tino Goratsch

added a new deployment stage to the travis.yml which uploads the build...

added a new deployment stage to the travis.yml which uploads the build artifact to github releases when a new tag has been created
parent fcd761eb
......@@ -11,7 +11,7 @@ php:
matrix:
fast_finish: true
allowed_failues:
allow_failures:
- php: 7.1
- php: nightly
- php: hhvm
......@@ -33,11 +33,18 @@ after_success:
- ./build/travis/push_code_coverage.sh ${TRAVIS_PHP_VERSION}
deploy:
provider: script
script: ./build/travis/update_module_repositories.sh ${TRAVIS_TAG}
on:
tags: true
condition: "$TRAVIS_PHP_VERSION = '7.0'"
- provider: releases
api_key: ${ACP3_CI_USER_GH_TOKEN}
before_deploy: "rm -rf build/logs/* && rm -rf ./vendor && composer install --no-dev --prefer-dist -o -n --ignore-platform-reqs"
skip_cleanup: true
on:
tags: true
condition: "$TRAVIS_PHP_VERSION = '7.0'"
- provider: script
script: ./build/travis/update_module_repositories.sh ${TRAVIS_TAG}
on:
tags: true
condition: "$TRAVIS_PHP_VERSION = '7.0'"
cache:
directories:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment