Проект для складирования кода ZF 1.x
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zend-framework-1x/.travis.yml

44 lines
1.1 KiB

9 years ago
language: php
sudo: false
9 years ago
php:
- 5.2
- 5.3
- 5.4
- 5.5
- 5.6
- 7
9 years ago
- hhvm
env: TMPDIR=/tmp
install:
- if [[ "$TRAVIS_PHP_VERSION" == "5.2" ]]; then sh ./tests/php52_install_dependencies.sh; fi
9 years ago
- phpenv rehash
services:
- memcached
before_script:
- 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
9 years ago
- 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
9 years ago
- cp ./tests/TestConfiguration.travis.php ./tests/TestConfiguration.php
script:
- cd tests/
- php runalltests.php
matrix:
allow_failures:
- php: 7
9 years ago
- php: hhvm