Skip to content
This repository has been archived by the owner on Dec 14, 2024. It is now read-only.

Commit

Permalink
Travis CI: Fix Symfony components install
Browse files Browse the repository at this point in the history
  • Loading branch information
alexislefebvre committed Aug 10, 2018
1 parent d859e2b commit cac6729
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cac6729

Please sign in to comment.