Skip to content

Commit 4bf3efc

Browse files
committed
add redis extension to laminas CI json
Signed-off-by: sergiu <sergiubota@rospace.com>
1 parent dc7d40f commit 4bf3efc

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

.laminas-ci.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,10 @@
44
"--no-plugins"
55
],
66
"ignore_php_platform_requirements": {
7+
},
8+
"tools": {
9+
"php": {
10+
"extensions": ["redis"]
11+
}
712
}
8-
}
13+
}

.laminas-ci/pre-run.sh

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
#!/bin/bash
22

3-
PHP_VERSION="$1"
4-
5-
apt update
6-
apt install -y make php-dev php-pear
7-
8-
pecl install redis
9-
10-
echo "extension=redis.so" | sudo tee /etc/php/${PHP_VERSION}/mods-available/redis.ini
11-
12-
sudo phpenmod -v ${PHP_VERSION} -s cli redis
3+
# Due to the fact that we are disabling plugins when installing/updating/downgrading composer dependencies
4+
# we have to manually enable the coding standard here.
5+
composer enable-codestandard

0 commit comments

Comments
 (0)