diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index fdca18f04f..eef48d1682 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,6 @@ addons: - re2c - libgmp-dev - libicu-dev - - libmcrypt-dev - libtidy-dev - libenchant-dev - libaspell-dev @@ -30,8 +29,9 @@ notifications: on_success: change on_failure: always -cache: - - apt +cache: + apt: true + ccache: true env: global: @@ -47,11 +47,14 @@ env: - ENABLE_MAINTAINER_ZTS=1 ENABLE_DEBUG=1 before_script: + - ccache --version + - ccache --zero-stats + - export USE_CCACHE=1 # Enable IPv6 - sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6' # Compile PHP - ./travis/compile.sh - # Setup Extensions + # Setup Extensions - . ./travis/ext/mysql/setup.sh - . ./travis/ext/mysqli/setup.sh - . ./travis/ext/pdo_mysql/setup.sh @@ -60,4 +63,7 @@ before_script: # Run PHPs run-tests.php script: - - ./sapi/cli/php run-tests.php -p `pwd`/sapi/cli/php $(if [ $ENABLE_DEBUG == 0 ]; then echo "-d opcache.enable_cli=1 -d zend_extension=`pwd`/modules/opcache.so"; fi) -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP" --offline --show-diff --set-timeout 120 + - ./sapi/cli/php run-tests.php -p `pwd`/sapi/cli/php $(if [ $ENABLE_DEBUG == 0 ]; then echo "-d opcache.enable_cli=1 -d zend_extension=`pwd`/modules/opcache.so"; fi) -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP" --offline --show-diff --show-slow 1000 --set-timeout 120 + +after_success: + - ccache --show-stats |