Use built-in composer.phar

This commit is contained in:
Bartłomiej Krukowski 2017-03-15 01:41:06 +01:00 committed by GitHub
parent 29ddaf559a
commit c7cf637e77

View File

@ -1,11 +1,7 @@
language: php language: php
install: install:
- php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" - travis_wait composer install --profile --no-interaction
- php -r "if (hash_file('SHA384', 'composer-setup.php') === 'e115a8dc7871f15d853148a7fbac7da27d6c0030b848d9b3dc09e2a0388afed865e6a3d6b3c0fad45c48e2b5fc1196ae') { echo 'Installer verified' . PHP_EOL; } else { throw new \RuntimeException('Installer corrupt'); }"
- php composer-setup.php
- php -r "unlink('composer-setup.php');"
- travis_wait php composer.phar install --profile --no-interaction
- mkdir -p build/logs - mkdir -p build/logs
php: php: