From f3d652b6b549132b03cd397477ba34990d0ef380 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 31 Dec 2020 17:11:01 +0100 Subject: [PATCH] Add php8 to the CI --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8434950f..1d122979 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,7 +36,9 @@ matrix: php: "7.3" - env: TARGET="php7.4" php: "7.4" - - env: TARGET="php nightly novld" + - env: TARGET="php8.0 novld" + php: "8.0" + - env: TARGET="nightly novld" php: "nightly" script: @@ -46,7 +48,8 @@ script: - ./configure --enable-snuffleupagus --enable-coverage - make -j `nproc` - sed -i "s/\$ext_params -d display_errors=0 -r/-d display_errors=0 -r/" run-tests.php - - if [ "${TARGET}" != "php nightly novld" ] ; then rm -rf ./tests/*php8* ; fi + - if [ "${TARGET}" != *"nightly"* ] ; then rm -rf ./tests/*php8* ; fi + - if [ "${TARGET}" != *"php8"* ] ; then rm -rf ./tests/*php8* ; fi - TEST_PHP_ARGS="-q" REPORT_EXIT_STATUS=1 make test after_success: