54ab31a7fc
* 2.3: 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 [HttpKernel] fixed file uploads in functional tests when no file was selected Fixed test cases failing when the Intl extension is not installed Fixed the Travis build to avoid exiting too early Conflicts: src/Symfony/Component/DomCrawler/Crawler.php src/Symfony/Component/Translation/Tests/IdentityTranslatorTest.php
31 lines
1.5 KiB
YAML
31 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;'
|
|
- 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
|