From bbfa7f91098e85640f5f77c0fbb9357c30855fa5 Mon Sep 17 00:00:00 2001 From: Sid Roberts Date: Tue, 14 Jul 2015 12:09:46 +0100 Subject: [PATCH] Migrated Travis to new container infrastructure (http://docs.travis-ci.com/user/migrating-from-legacy/) --- .travis.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9e93e01367e..3e83a33933f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ language: php +sudo: false + php: - 5.3 - 5.4 @@ -26,14 +28,13 @@ before_script: - (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 -DZEPHIR_RELEASE=1"; phpize && ./configure --enable-phalcon && make --silent -j4 && sudo make --silent install && phpenv config-add ../unit-tests/ci/phalcon.ini) + - (cd ext; export CFLAGS="-g3 -O1 -std=gnu90 -Wall -DZEPHIR_RELEASE=1"; phpize && ./configure --enable-phalcon && make --silent -j4 && make --silent install && phpenv config-add ../unit-tests/ci/phalcon.ini) - ulimit -c unlimited || true script: - ./run-tests.sh after_failure: - - sudo apt-get -qq install gdb - ./unit-tests/ci/after_failure.sh notifications: @@ -42,3 +43,7 @@ notifications: - eduar@phalconphp.com - nikos@phalconphp.com +addons: + apt: + packages: + - gdb