Browse code

tweaked phpunit config

Fabien Potencier authored on 11/12/2018 07:02:58
Showing 2 changed files
... ...
@@ -31,12 +31,7 @@ before_script:
31 31
     - if [ "$TWIG_EXT" == "yes" ]; then sh -c "cd ext/twig && phpize && ./configure --enable-twig && make && make install"; fi
32 32
     - if [ "$TWIG_EXT" == "yes" ]; then echo "extension=twig.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`; fi
33 33
 
34
-script: |
35
-    if [[ $TRAVIS_PHP_VERSION = 7.* || $TRAVIS_PHP_VERSION = nightly ]]; then
36
-        SYMFONY_PHPUNIT_VERSION=6.5 ./vendor/bin/simple-phpunit
37
-    else
38
-        ./vendor/bin/simple-phpunit
39
-    fi
34
+script: ./vendor/bin/simple-phpunit
40 35
 
41 36
 matrix:
42 37
     fast_finish: true
... ...
@@ -31,7 +31,7 @@
31 31
         "symfony/polyfill-ctype": "^1.8"
32 32
     },
33 33
     "require-dev": {
34
-        "symfony/phpunit-bridge": "^3.3",
34
+        "symfony/phpunit-bridge": "^3.4.19|^4.1.8",
35 35
         "symfony/debug": "^2.7",
36 36
         "psr/container": "^1.0"
37 37
     },