Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #199 from WouterJ/patch-1
Added a cleaner and more flexible solution for lowest deps
  • Loading branch information
dbu committed May 5, 2015
2 parents 7a49ef8 + f4826ba commit 446e35f
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .travis.yml
Expand Up @@ -7,26 +7,25 @@ php:
- hhvm

env:
- SYMFONY_VERSION=2.6.* PACKAGE_VERSION=high
- SYMFONY_VERSION=2.6.*

matrix:
include:
- php: 5.3.3
env: SYMFONY_VERSION=2.3.* PACKAGE_VERSION=low
env: SYMFONY_VERSION=2.3.* COMPOSER_FLAGS="--prefer-lowest"
- php: 5.5
env: SYMFONY_VERSION=2.3.* PACKAGE_VERSION=high
env: SYMFONY_VERSION=2.3.*
- php: 5.5
env: SYMFONY_VERSION=2.4.* PACKAGE_VERSION=high
env: SYMFONY_VERSION=2.4.*
- php: 5.5
env: SYMFONY_VERSION=2.5.* PACKAGE_VERSION=high
env: SYMFONY_VERSION=2.5.*
- php: 5.5
env: SYMFONY_VERSION=2.7.* PACKAGE_VERSION=high SYMFONY_DEPRECATIONS_HELPER=weak
env: SYMFONY_VERSION=2.7.* SYMFONY_DEPRECATIONS_HELPER=weak

before_install:
- composer self-update || true
- composer require --no-update symfony/symfony:${SYMFONY_VERSION}
- if [[ "$PACKAGE_VERSION" == "high" ]]; then COMPOSER_ROOT_VERSION=dev-master composer update --prefer-source --no-interaction; fi
- if [[ "$PACKAGE_VERSION" == "low" ]]; then COMPOSER_ROOT_VERSION=dev-master composer update --prefer-lowest --prefer-source --no-interaction; fi
- COMPOSER_ROOT_VERSION=dev-master composer update $COMPOSER_FLAGS --prefer-source --no-interaction
- vendor/symfony-cmf/testing/bin/travis/phpcr_odm_doctrine_dbal.sh

script: phpunit --coverage-text
Expand Down

0 comments on commit 446e35f

Please sign in to comment.