Commit 0a3b2a9d authored by Fabien Potencier's avatar Fabien Potencier

bug #1505 Use the simple-phpunit script in Travis and add PHP 7.1 (skalpa)

This PR was merged into the 2.1.x-dev branch.

Discussion
----------

Use the simple-phpunit script in Travis and add PHP 7.1

This will fix the Travis build issues with PHP 7.

I upped the `symfony/phpunit-bridge` version requirement so we can use the `simple-phpunit` script that was added in 3.2.0, and updated the `script` config value.

While I was at it, I also added PHP 7.1 to the matrix (hopefully it's ok to do this in the same PR).

Commits
-------

392d8335 Use the phpunit-bridge script in Travis
parents 0756ea3a 392d8335
......@@ -22,7 +22,7 @@ before_script:
- sh -c "if [ '$SYMFONY_DEPS_VERSION' = '' ]; then sed -i 's/~2\.8|^3\.0/2.8.*@dev/g' composer.json; composer update; fi"
- composer install
script: phpunit
script: ./vendor/bin/simple-phpunit
matrix:
include:
......@@ -36,4 +36,9 @@ matrix:
- php: 5.6
env: SYMFONY_DEPS_VERSION=3.2
- php: 7.0
- php: 7.1
- php: hhvm
cache:
directories:
- .phpunit
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment