forked from phalcon/cphalcon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (32 loc) · 1.06 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
language: php
php:
- 5.3
- 5.3.3
- 5.4
- 5.5
services:
- mongodb
- memcached
before_install:
- phpenv config-add ./unit-tests/ci/memcache.ini
- phpenv config-add ./unit-tests/ci/mongo.ini
- ./unit-tests/ci/install_prereqs.sh
- ./unit-tests/ci/setup_dbs.sh
before_script:
- mkdir -p php-tests/library/
- git submodule update --init --recursive
- (cd unit-tests/engines/; git clone -q git://github.com/bobthecow/mustache.php.git & git clone -q git://github.com/fabpot/Twig.git & wait)
- (cd ext; export CFLAGS="-g3 -O1 -fno-delete-null-pointer-checks -Wall"; phpize && ./configure --enable-phalcon && make -j4 && sudo make install && phpenv config-add ../unit-tests/ci/phalcon.ini)
- ulimit -c unlimited || true
script:
- (cd ext; NO_INTERACTION=1 make test)
- $(phpenv which php) ./unit-tests/ci/phpunit.php --debug -c unit-tests/phpunit.xml
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
- vladimir@phalconphp.com