From c06e5436441325616db9f619bf8b418fcace5498 Mon Sep 17 00:00:00 2001 From: Alexis Lefebvre Date: Fri, 10 Aug 2018 22:35:38 +0200 Subject: [PATCH] Travis CI: Fix Symfony components install --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index edefd1f..b3d207e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,10 +23,11 @@ env: before_install: - if echo "$TRAVIS_COMMIT_MESSAGE" | grep -F -q "[skip travis]" ; then echo "[skip travis] has been found, exiting" && exit 0 ; else echo "[skip travis] has not been found, continuing" ; fi - if [[ $TRAVIS_PHP_VERSION = '7.2' && $SYMFONY_VERSION = '3.4.*' ]]; then DEPENDENCY="codeclimate/php-test-reporter:~0.3 satooshi/php-coveralls:~1.0"; PHPUNIT_FLAGS="--coverage-clover ./build/logs/clover.xml"; else DEPENDENCY=""; PHPUNIT_FLAGS=""; fi + - if [[ $SYMFONY_VERSION = '3.4.*' ]]; then SYMFONY_LTS="symfony/lts:v3"; else SYMFONY_LTS=""; fi - if [[ $PHPUNIT_FLAGS = "" ]]; then phpenv config-rm xdebug.ini; fi install: - - composer require symfony/symfony:${SYMFONY_VERSION} $DEPENDENCY --no-update + - composer require symfony/config:${SYMFONY_VERSION} symfony/form:${SYMFONY_VERSION} symfony/framework-bundle:${SYMFONY_VERSION} symfony/templating:${SYMFONY_VERSION} symfony/security-csrf:${SYMFONY_VERSION} symfony/var-dumper:${SYMFONY_VERSION} $SYMFONY_LTS $DEPENDENCY --no-update - composer install --no-interaction --profile --no-progress script: