forked from ice/framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
41 lines (32 loc) · 1.03 KB
/
.travis.yml
File metadata and controls
41 lines (32 loc) · 1.03 KB
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
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
matrix:
allow_failures:
- php: 7.0
sudo: false
before_install:
- composer install --prefer-source --no-scripts
before_script:
- git submodule --quiet update --init --recursive
- (cd vendor/phalcon/zephir; ./unit-tests/ci/before_install.sh)
- (./tests/ci/install_zephir.sh)
- (./vendor/bin/zephir fullclean; ./vendor/bin/zephir generate)
- (cd ext; export CFLAGS="-g3 -O1 -fno-delete-null-pointer-checks -Wall -fvisibility=hidden -DZEPHIR_RELEASE=1"; phpize && ./configure --enable-ice && make -j2 && make install && phpenv config-add ../tests/ci/ice.ini)
- ulimit -c unlimited || true
- phpenv config-rm xdebug.ini
script:
- ./vendor/bin/phpunit --configuration tests/phpunit.xml --testsuite=all
after_failure:
- gdb -quiet -command=tests/ci/gdb --args $(phpenv which php) vendor/bin/phpunit --debug --colors --configuration tests/phpunit.xml --testsuite=all
notifications:
email:
- info@iceframework.org
addons:
apt:
packages:
- gdb
- re2c