diff --git a/.travis.yml b/.travis.yml index be79e9fe..7db07d7e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,7 +35,7 @@ before_install: - if [[ "$TRAVIS_PHP_VERSION" = "hhvm" || "$TRAVIS_PHP_VERSION" = "nightly" ]]; then sed -i '/^.*friendsofphp\/php-cs-fixer.*$/d' composer.json; fi install: - - travis_retry composer install --no-interaction --prefer-dist + - travis_retry composer install --no-interaction script: - if [[ "$WITH_COVERAGE" == "true" ]]; then ./vendor/bin/phpunit --coverage-text; else composer test; fi diff --git a/composer.json b/composer.json index 8a2de30e..58dd66e2 100644 --- a/composer.json +++ b/composer.json @@ -74,5 +74,8 @@ "style-fix": "php-cs-fixer fix --verbose", "test": "phpunit", "testOnly": "phpunit --colors --filter" + }, + "config": { + "preferred-install": "dist" } }