forked from zendframework/zf1-extras
-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
32 lines (26 loc) · 909 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
language: php
php:
- 5.2
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
env: TMPDIR=/tmp
before_install:
- phpenv rehash
- if [[ "$TRAVIS_PHP_VERSION" == "5.2" ]]; then pecl install -a phar; fi
- phpenv rehash
- sh ./tests/install_dependencies.sh
- phpenv rehash
before_script:
- if [[ "$TRAVIS_PHP_VERSION" == "5.2" ]]; then git clone https://github.com/zendframework/zf1; cp -rf zf1/library/Zend library/Zend; cp -rf zf1/tests/Zend tests/Zend; fi
- if [[ "$TRAVIS_PHP_VERSION" != "5.2" ]]; then composer require zendframework/zendframework1:1.12.*@dev; composer install; fi
- if [[ "$TRAVIS_PHP_VERSION" != "5.2" ]]; then cp -rf vendor/zendframework/zendframework1/library/Zend library/Zend; fi
- if [[ "$TRAVIS_PHP_VERSION" != "5.2" ]]; then cp -rf vendor/zendframework/zendframework1/tests/Zend tests/Zend; fi
script:
- cd tests/
- php runalltests.php
matrix:
allow_failures:
- php: hhvm