diff options
| -rw-r--r-- | .travis.yml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml index a5a8737..8434950 100644 --- a/.travis.yml +++ b/.travis.yml | |||
| @@ -25,18 +25,18 @@ matrix: | |||
| 25 | build_command_prepend: "cd src; phpize; ./configure --enable-snuffleupagus; cd -" | 25 | build_command_prepend: "cd src; phpize; ./configure --enable-snuffleupagus; cd -" |
| 26 | build_command: "make debug -j2" | 26 | build_command: "make debug -j2" |
| 27 | branch_pattern: "master" | 27 | branch_pattern: "master" |
| 28 | - env: TARGET="gcc php7.0" CC="gcc" | 28 | - env: TARGET="php7.0" |
| 29 | php: "7.0" | 29 | php: "7.0" |
| 30 | - env: TARGET="gcc php7.1" CC="gcc" | 30 | - env: TARGET="php7.1" |
| 31 | php: "7.1" | 31 | php: "7.1" |
| 32 | - env: TARGET="gcc php7.2" CC="gcc" | 32 | - env: TARGET="php7.2" |
| 33 | before_install: pip install --user cpp-coveralls | 33 | before_install: pip install --user cpp-coveralls |
| 34 | php: "7.2" | 34 | php: "7.2" |
| 35 | - env: TARGET="gcc php7.3" CC="gcc" | 35 | - env: TARGET="php7.3" |
| 36 | php: "7.3" | 36 | php: "7.3" |
| 37 | - env: TARGET="gcc php7.4" CC="gcc" | 37 | - env: TARGET="php7.4" |
| 38 | php: "7.4" | 38 | php: "7.4" |
| 39 | - env: TARGET="gcc php nightly novld" CC="gcc" | 39 | - env: TARGET="php nightly novld" |
| 40 | php: "nightly" | 40 | php: "nightly" |
| 41 | 41 | ||
| 42 | script: | 42 | script: |
| @@ -46,12 +46,12 @@ script: | |||
| 46 | - ./configure --enable-snuffleupagus --enable-coverage | 46 | - ./configure --enable-snuffleupagus --enable-coverage |
| 47 | - make -j `nproc` | 47 | - make -j `nproc` |
| 48 | - sed -i "s/\$ext_params -d display_errors=0 -r/-d display_errors=0 -r/" run-tests.php | 48 | - sed -i "s/\$ext_params -d display_errors=0 -r/-d display_errors=0 -r/" run-tests.php |
| 49 | - if [ "${TARGET}" != "gcc php nightly novld" ] ; then rm -rf ./tests/*php8* ; fi | 49 | - if [ "${TARGET}" != "php nightly novld" ] ; then rm -rf ./tests/*php8* ; fi |
| 50 | - TEST_PHP_ARGS="-q" REPORT_EXIT_STATUS=1 make test | 50 | - TEST_PHP_ARGS="-q" REPORT_EXIT_STATUS=1 make test |
| 51 | 51 | ||
| 52 | after_success: | 52 | after_success: |
| 53 | - | | 53 | - | |
| 54 | if [ "${TARGET}" = "gcc php7.2" ]; then | 54 | if [ "${TARGET}" = "php7.2" ]; then |
| 55 | cd ../ | 55 | cd ../ |
| 56 | git clone --depth 1 https://github.com/linux-test-project/lcov.git | 56 | git clone --depth 1 https://github.com/linux-test-project/lcov.git |
| 57 | rm -rf ./lcov/examples/ ./lcov/test/ | 57 | rm -rf ./lcov/examples/ ./lcov/test/ |
