Skip to content

Commit

Permalink
provide details about Redis install and fail on error
Browse files Browse the repository at this point in the history
Signed-off-by: Dennis Riehle <[email protected]>
  • Loading branch information
driehle committed Jan 22, 2025
1 parent ecaf37d commit 1a9693b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .laminas-ci/pre-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ COMMAND=$(echo "${JOB}" | jq -r '.command // ""')
PHP=$(echo "${JOB}" | jq -r '.php // ""')
REDIS_VERSION=${BASH_REMATCH[1]}

pecl install -f --configureoptions 'enable-redis-igbinary="yes" enable-redis-lzf="yes"' igbinary redis-${REDIS_VERSION}
echo "Installing ext-redis in version $REDIS_VERSION..."

pecl install -f --configureoptions 'enable-redis-igbinary="yes" enable-redis-lzf="yes"' igbinary redis-${REDIS_VERSION} || exit 1
echo "extension=redis.so" > /etc/php/${PHP}/mods-available/redis.ini

0 comments on commit 1a9693b

Please sign in to comment.