Skip to content

Commit

Permalink
Add phpunit-bridge to detect deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlo Forghieri committed Jun 9, 2016
1 parent f6a4a12 commit 720a4e7
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ php:
- hhvm

env:
- COMPOSER_FLAGS="--prefer-lowest"
- SYMFONY_VERSION=2.1.*
- SYMFONY_VERSION=2.2.*
- SYMFONY_VERSION=2.3.*
- SYMFONY_VERSION=2.4.*
- SYMFONY_VERSION=2.5.*
- COMPOSER_FLAGS="--prefer-lowest" NO_PHPUNIT_BRIDGE=1
- SYMFONY_VERSION=2.1.* NO_PHPUNIT_BRIDGE=1
- SYMFONY_VERSION=2.2.* NO_PHPUNIT_BRIDGE=1
- SYMFONY_VERSION=2.3.* NO_PHPUNIT_BRIDGE=1
- SYMFONY_VERSION=2.4.* NO_PHPUNIT_BRIDGE=1
- SYMFONY_VERSION=2.5.* NO_PHPUNIT_BRIDGE=1
- SYMFONY_VERSION=2.6.* SYMFONY_DEPRECATIONS_HELPER=weak
- SYMFONY_VERSION=2.7.*
- SYMFONY_VERSION=2.8.*
Expand All @@ -31,6 +31,7 @@ cache:
before_script:
- composer selfupdate
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
- if [ "$NO_PHPUNIT_BRIDGE" == "" ]; then composer require symfony/phpunit-bridge; fi;
- composer update --prefer-dist $COMPOSER_FLAGS

script:
Expand Down

0 comments on commit 720a4e7

Please sign in to comment.