Blame | Last modification | View Log | Download
language: phpsudo: falsephp:- 5.2- 5.3- 5.4- 5.5- 5.6- 7- hhvmenv: TMPDIR=/tmpinstall:- if [[ "$TRAVIS_PHP_VERSION" == "5.2" ]]; then sh ./tests/php52_install_dependencies.sh; fi- phpenv rehashservices:- memcachedbefore_script:- phpenv config-rm xdebug.ini || return 0- if [[ "$TRAVIS_PHP_VERSION" != "5.2" ]]; then travis_retry composer self-update; fi- if [[ "$TRAVIS_PHP_VERSION" != "5.2" ]]; then travis_retry composer install --no-interaction --prefer-source --dev; fi- mysql -e 'create database zftest;'- psql -c 'create database zftest;' -U postgres- if [[ "$TRAVIS_PHP_VERSION" != "5.2" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]] && [[ "$TRAVIS_PHP_VERSION" != "7" ]]; then phpenv config-add tests/config.ini; fi- if [[ "$TRAVIS_PHP_VERSION" == "5.2" ]]; then phpenv config-add tests/php52_config.ini; fi- if [[ "$TRAVIS_PHP_VERSION" == "7" ]]; then phpenv config-add tests/php7_config.ini; fi- cp ./tests/TestConfiguration.travis.php ./tests/TestConfiguration.phpscript:- cd tests/- php runalltests.phpmatrix:allow_failures:- php: 7- php: hhvm