-
-
Notifications
You must be signed in to change notification settings - Fork 2k
/
.travis.yml
45 lines (37 loc) · 1.46 KB
/
.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
33
34
35
36
37
38
39
40
41
42
43
44
45
language: php
php:
- 5.3
- 5.3.3
- 5.4
- 5.5
- 5.6
services:
- mongodb
- memcached
- redis-server
before_install:
- ./unit-tests/ci/install_prereqs.sh
- ./unit-tests/ci/setup_dbs.sh
install:
- composer --prefer-source install
- composer require phalcon/zephir:dev-master
before_script:
- git submodule --quiet update --init --recursive
- (cd php-tests/library/Mustache; git checkout master)
- (cd php-tests/library/Twig; git checkout master)
- (cd vendor/phalcon/zephir; ./unit-tests/ci/before_install.sh; ./install)
- ./vendor/bin/zephir generate
- (cd ext; export CFLAGS="-g3 -O1 -std=gnu90 -Wall"; phpize && ./configure --enable-phalcon && make --silent -j4 && sudo make --silent install && phpenv config-add ../unit-tests/ci/phalcon.ini)
- ulimit -c unlimited || true
script:
- ZEND_DONT_UNLOAD_MODULES=1 $(phpenv which php) ./unit-tests/ci/phpunit.php --debug -c unit-tests/phpunit.xml --testsuite=stable
- 'if [[ "$TRAVIS_PHP_VERSION" == "5.3" ]] || [[ "$TRAVIS_PHP_VERSION" == "5.3.3" ]] || (ZEND_DONT_UNLOAD_MODULES=1 $(phpenv which php) ./codecept53.phar run)'
- 'if [[ "$TRAVIS_PHP_VERSION" == "5.4" ]] || [[ "$TRAVIS_PHP_VERSION" == "5.5" ]] || [[ "$TRAVIS_PHP_VERSION" == "5.6" ]] ||(ZEND_DONT_UNLOAD_MODULES=1 $(phpenv which php) ./codecept.phar run)'
after_failure:
- sudo apt-get -qq install gdb
- ./unit-tests/ci/after_failure.sh
notifications:
email:
- andres@phalconphp.com
- eduar@phalconphp.com
- nikos@phalconphp.com