Deploy PHAR to GitHub releases
parent
bfed974ae9
commit
78a62f8901
11
.travis.yml
11
.travis.yml
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue