diff options
| author | jvoisin | 2020-12-31 17:11:01 +0100 |
|---|---|---|
| committer | jvoisin | 2020-12-31 17:11:01 +0100 |
| commit | f3d652b6b549132b03cd397477ba34990d0ef380 (patch) | |
| tree | e50df4e2e21a00d8050aff1180e637bb0230d4d5 | |
| parent | dc900601f36465ddef997a9f59fc208b00086033 (diff) | |
Add php8 to the CI
| -rw-r--r-- | .travis.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 8434950..1d12297 100644 --- a/.travis.yml +++ b/.travis.yml | |||
| @@ -36,7 +36,9 @@ matrix: | |||
| 36 | php: "7.3" | 36 | php: "7.3" |
| 37 | - env: TARGET="php7.4" | 37 | - env: TARGET="php7.4" |
| 38 | php: "7.4" | 38 | php: "7.4" |
| 39 | - env: TARGET="php nightly novld" | 39 | - env: TARGET="php8.0 novld" |
| 40 | php: "8.0" | ||
| 41 | - env: TARGET="nightly novld" | ||
| 40 | php: "nightly" | 42 | php: "nightly" |
| 41 | 43 | ||
| 42 | script: | 44 | script: |
| @@ -46,7 +48,8 @@ script: | |||
| 46 | - ./configure --enable-snuffleupagus --enable-coverage | 48 | - ./configure --enable-snuffleupagus --enable-coverage |
| 47 | - make -j `nproc` | 49 | - make -j `nproc` |
| 48 | - sed -i "s/\$ext_params -d display_errors=0 -r/-d display_errors=0 -r/" run-tests.php | 50 | - sed -i "s/\$ext_params -d display_errors=0 -r/-d display_errors=0 -r/" run-tests.php |
| 49 | - if [ "${TARGET}" != "php nightly novld" ] ; then rm -rf ./tests/*php8* ; fi | 51 | - if [ "${TARGET}" != *"nightly"* ] ; then rm -rf ./tests/*php8* ; fi |
| 52 | - if [ "${TARGET}" != *"php8"* ] ; then rm -rf ./tests/*php8* ; fi | ||
| 50 | - TEST_PHP_ARGS="-q" REPORT_EXIT_STATUS=1 make test | 53 | - TEST_PHP_ARGS="-q" REPORT_EXIT_STATUS=1 make test |
| 51 | 54 | ||
| 52 | after_success: | 55 | after_success: |
