1
0
Fork 0

Deploy PHAR to GitHub releases

pull/6811/head
Kévin Dunglas 2017-11-15 08:25:16 +02:00
parent bfed974ae9
commit 78a62f8901
No known key found for this signature in database
GPG Key ID: 4D04EBEF06AAF3A6
1 changed files with 11 additions and 0 deletions

View File

@ -57,3 +57,14 @@ before_script:
script:
# run test suite directories in parallel using GNU parallel
- ls -d tests/Composer/Test/* | parallel --gnu --keep-order 'echo "Running {} tests"; ./vendor/bin/phpunit -c tests/complete.phpunit.xml --colors=always {} || (echo -e "\e[41mFAILED\e[0m {}" && exit 1);'
- php -d phar.readonly=0 bin/compile
deploy:
provider: releases
api_key: $GITHUB_TOKEN
file: composer.phar
skip_cleanup: true
on:
tags: true
repo: composer/composer
php: '5.3'