f50c382979
* 2.4: Disable 5.6 until it is stable again. Update the fixtures. fixed CS [HttpKernel] fixed default TTL not applied under certain conditions Added test when TTL has expired [DomCrawler] Fixed image input case sensitive
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 {};' || exit 1
|
|
- echo "Running tests requiring tty"; phpunit --group tty
|