Skip to content

Commit 720a4e7

Browse files
author
Carlo Forghieri
committed
Add phpunit-bridge to detect deprecations
1 parent f6a4a12 commit 720a4e7

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.travis.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ php:
1111
- hhvm
1212

1313
env:
14-
- COMPOSER_FLAGS="--prefer-lowest"
15-
- SYMFONY_VERSION=2.1.*
16-
- SYMFONY_VERSION=2.2.*
17-
- SYMFONY_VERSION=2.3.*
18-
- SYMFONY_VERSION=2.4.*
19-
- SYMFONY_VERSION=2.5.*
14+
- COMPOSER_FLAGS="--prefer-lowest" NO_PHPUNIT_BRIDGE=1
15+
- SYMFONY_VERSION=2.1.* NO_PHPUNIT_BRIDGE=1
16+
- SYMFONY_VERSION=2.2.* NO_PHPUNIT_BRIDGE=1
17+
- SYMFONY_VERSION=2.3.* NO_PHPUNIT_BRIDGE=1
18+
- SYMFONY_VERSION=2.4.* NO_PHPUNIT_BRIDGE=1
19+
- SYMFONY_VERSION=2.5.* NO_PHPUNIT_BRIDGE=1
2020
- SYMFONY_VERSION=2.6.* SYMFONY_DEPRECATIONS_HELPER=weak
2121
- SYMFONY_VERSION=2.7.*
2222
- SYMFONY_VERSION=2.8.*
@@ -31,6 +31,7 @@ cache:
3131
before_script:
3232
- composer selfupdate
3333
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
34+
- if [ "$NO_PHPUNIT_BRIDGE" == "" ]; then composer require symfony/phpunit-bridge; fi;
3435
- composer update --prefer-dist $COMPOSER_FLAGS
3536

3637
script:

0 commit comments

Comments
 (0)