From 63d922aef5306be77433edefd133270c93244fa5 Mon Sep 17 00:00:00 2001 From: Sergey Zhuravel Date: Fri, 30 Dec 2016 03:08:44 +0200 Subject: [PATCH] BAP-12423: Public travis does not work because require composer assets plugin - update config and deps --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 13706d511b1..6f2b13b5aa4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,10 +21,15 @@ before_script: - phpenv config-rm xdebug.ini - phpenv config-add travis.php.ini - composer self-update + - composer config minimum-stability dev + - composer config prefer-stable true - composer config repositories.oro composer https://packagist.orocrm.com + - composer require --no-update --dev "phpunit/phpunit:5.7.*" + - composer require --no-update --dev "squizlabs/php_codesniffer:2.7.*" + - composer require --no-update --dev "phpmd/phpmd:2.5.*" - composer global show fxp/composer-asset-plugin 1.2.2 || composer global require fxp/composer-asset-plugin:1.2.2 - travis_wait composer update --prefer-dist --optimize-autoloader --no-interaction --no-suggest --prefer-stable - - DIFF=$(git diff --name-only --diff-filter=ACMR $TRAVIS_COMMIT_RANGE | grep -e ".*\.php$") + - set +e; DIFF=$(git diff --name-only --diff-filter=ACMR $TRAVIS_COMMIT_RANGE | grep -e ".*\.php$"); set -e; script: - ./vendor/bin/phpunit