diff --git a/.travis.yml b/.travis.yml index bbb5f963f..3e4c5c07d 100644 --- a/.travis.yml +++ b/.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'