From e01db37cd1f4e4b53bbb6385ee08672daff5c918 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Thu, 12 Apr 2018 12:39:39 +0200 Subject: [PATCH] Show installed PHP modules after the new extension has been installed --- scripts/travisci-test-new-extensions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/travisci-test-new-extensions b/scripts/travisci-test-new-extensions index 27160e1..7d2c7ae 100755 --- a/scripts/travisci-test-new-extensions +++ b/scripts/travisci-test-new-extensions @@ -56,11 +56,11 @@ testExtension () { if test -n "$(printf '%s' "${2}" | sed -E 's/^[0-9]+\.[0-9]+$//')" then printf ' INVALID PHP VERSION: %s\n' "${2}" >&2 - exit 1 + return 0 fi testExtension_Image="$(getExtensionImage "${1}" "${2}")" printf ' - Docker image: %s\n' "${testExtension_Image}" - docker run --rm --volume "${TRAVIS_BUILD_DIR}:/app" --workdir /app "${testExtension_Image}" ./install-php-extensions "${1}" + docker run --rm --volume "${TRAVIS_BUILD_DIR}:/app" --workdir /app "${testExtension_Image}" bash -c "./install-php-extensions ${1} && php -m" } # Test a new extension line