File tree 1 file changed +15
-15
lines changed 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -6,22 +6,22 @@ source $(dirname $0)/compile-extensions-common
6
6
travis_time_start
7
7
8
8
dist=$( lsb_release -cs)
9
- if [[ " ${dist} " = " focal" || " ${dist} " = " jammy" || " ${dist} " = " noble" ]]; then
10
- if [[ $VERSION =~ ^master$ || $VERSION =~ snapshot$ ]]; then
11
- git clone https://github.com/mongodb/mongo-php-driver.git
12
- pushd mongo-php-driver
13
- git submodule update --init
14
- phpize
15
- ./configure
16
- make all
17
- make install
18
- popd
19
- else
20
- pecl channel-update pecl.php.net
21
- no | pecl_install mongodb
22
- fi
9
+ if [[ " ${dist} " = " focal" || " ${dist} " = " jammy" || " ${dist} " = " noble" ]]; then
10
+ if [[ $VERSION =~ ^master$ || $VERSION =~ snapshot$ ]]; then
11
+ git clone https://github.com/mongodb/mongo-php-driver.git
12
+ pushd mongo-php-driver
13
+ git submodule update --init
14
+ phpize
15
+ ./configure
16
+ make all
17
+ make install
18
+ popd
19
+ else
20
+ pecl channel-update pecl.php.net
21
+ no | pecl install mongodb
22
+ fi
23
23
else
24
- echo " MongoDB missing for PHP older than 7.4, tip set php at least 7.4 after installing php-dev"
24
+ echo " MongoDB missing for PHP older than 7.4, tip set php at least 7.4 after installing php-dev"
25
25
fi
26
26
27
27
travis_time_finish
You can’t perform that action at this time.
0 commit comments