* 2.4: Fixed the XPath filtering to have the same behavior than Symfony 2.4 [DomCrawler] Fixed filterXPath() chaining [DomCrawler] Added more tests for the XPath filtering [PropertyAccess] Fixed inverted logic [HttpKernel] fixed file uploads in functional tests when no file was selected [PropertyAccess] fixed CS Fixed test cases failing when the Intl extension is not installed Fixed the Travis build to avoid exiting too early [PropertyAccess] Fixed getValue() when accessing non-existing indices of ArrayAccess implementations [PropertyAccess] Refactored PropertyAccessorCollectionTest [PropertyAccess] Refactored PropertyAccessorTest
32 lines
1.5 KiB
YAML
32 lines
1.5 KiB
YAML
language: php
|
|
|
|
php:
|
|
- 5.3.3
|
|
- 5.3
|
|
- 5.4
|
|
- 5.5
|
|
- 5.6
|
|
- hhvm-nightly
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- php: 5.6
|
|
- php: hhvm-nightly
|
|
|
|
services: mongodb
|
|
|
|
before_script:
|
|
- travis_retry sudo apt-get install parallel
|
|
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]; then echo "" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini; fi;'
|
|
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]; then echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
|
|
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ] && [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ]; then echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
|
|
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]; then echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
|
|
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]; then echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
|
|
- sudo locale-gen fr_FR.UTF-8 && sudo update-locale
|
|
- COMPOSER_ROOT_VERSION=dev-master composer --prefer-source --dev install
|
|
- wget https://phar.phpunit.de/phpunit.phar && rm `which phpunit` && sudo cp phpunit.phar /usr/local/bin/phpunit && sudo chmod +x /usr/local/bin/phpunit
|
|
|
|
script:
|
|
- ls -d src/Symfony/*/* | parallel --gnu --keep-order 'echo "Running {} tests"; phpunit --exclude-group tty,benchmark {};' || false
|
|
- echo "Running tests requiring tty"; phpunit --group tty
|