Skip to content

Commit

Permalink
fix travis to not include mongo for 7.1, fix build matrex ordering so…
Browse files Browse the repository at this point in the history
… symfony 3.2.x isnt overridden by later COMPOSER_FLAGS usage
  • Loading branch information
robfrawley committed Sep 19, 2016
1 parent dcacf9f commit d49f101
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ matrix:
env: SYMFONY_VERSION=3.0.*@dev
- php: 5.6
env: SYMFONY_VERSION=3.1.*@dev
- php: 5.3
env: COMPOSER_FLAGS="--prefer-lowest"
- php: 7.0
env: SYMFONY_VERSION=3.2.x-dev
- php: 5.3
env: COMPOSER_FLAGS="--prefer-lowest"
allow_failures:
- php: 7.0
env: SYMFONY_VERSION=3.2.x-dev
Expand All @@ -43,7 +43,7 @@ before_install:
- if [ "${TRAVIS_PHP_VERSION}" != "hhvm" ]; then echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi;
- if [ "${SYMFONY_VERSION:0:3}" == "2.3" ]; then composer remove --dev friendsofphp/php-cs-fixer --no-update; fi;
- if [ "${TRAVIS_PHP_VERSION}" != "hhvm" ] && [ "${TRAVIS_PHP_VERSION}" != "5.3" ]; then composer require --dev league/flysystem:~1.0 --no-update; fi;
- if [ "${TRAVIS_PHP_VERSION}" != "hhvm" ] && [ "${TRAVIS_PHP_VERSION}" != "7.0" ]; then composer require --dev doctrine/mongodb-odm:~1.0 --no-update; yes "" | pecl -q install -f mongo; fi;
- if [ "${TRAVIS_PHP_VERSION}" != "hhvm" ] && [ "${TRAVIS_PHP_VERSION:0:1}" != "7" ]; then composer require --dev doctrine/mongodb-odm:~1.0 --no-update; yes "" | pecl -q install -f mongo; fi;
- if [ "${SYMFONY_VERSION:-x}" != "x" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;

install: composer update --prefer-source $COMPOSER_FLAGS
Expand Down

0 comments on commit d49f101

Please sign in to comment.