1
0
Fork 0

Merge pull request #6811 from dunglas/github-releases

Deploy PHAR to GitHub releases
pull/6864/head
Jordi Boggiano 2017-12-01 15:03:10 +01:00 committed by GitHub
commit 179f7376e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -57,3 +57,16 @@ 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);'
before_deploy:
- 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: '7.1'