diff --git a/php/scripts/extensions.sh b/php/scripts/extensions.sh index e0ca6315..e2a94e9f 100644 --- a/php/scripts/extensions.sh +++ b/php/scripts/extensions.sh @@ -105,20 +105,20 @@ else && docker-php-source delete fi -# docker-php-source extract \ -# && curl -L -o /tmp/cassandra-cpp-driver.deb "https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.14.0/cassandra-cpp-driver_2.14.0-1_amd64.deb" \ -# && curl -L -o /tmp/cassandra-cpp-driver-dev.deb "https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.14.0/cassandra-cpp-driver-dev_2.14.0-1_amd64.deb" \ -# && dpkg -i /tmp/cassandra-cpp-driver.deb /tmp/cassandra-cpp-driver-dev.deb \ -# && rm /tmp/cassandra-cpp-driver.deb /tmp/cassandra-cpp-driver-dev.deb \ -# && curl -L -o /tmp/cassandra.tar.gz "https://github.com/datastax/php-driver/archive/24d85d9f1d.tar.gz" \ -# && mkdir /tmp/cassandra \ -# && tar xfz /tmp/cassandra.tar.gz --strip 1 -C /tmp/cassandra \ -# && rm -r /tmp/cassandra.tar.gz \ -# && curl -L "https://github.com/datastax/php-driver/pull/135.patch" | patch -p1 -d /tmp/cassandra -i - \ -# && mv /tmp/cassandra/ext /usr/src/php/ext/cassandra \ -# && rm -rf /tmp/cassandra \ -# && docker-php-ext-install cassandra \ -# && docker-php-source delete +docker-php-source extract \ + && curl -L -o /tmp/cassandra-cpp-driver.deb "https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.14.0/cassandra-cpp-driver_2.14.0-1_amd64.deb" \ + && curl -L -o /tmp/cassandra-cpp-driver-dev.deb "https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.14.0/cassandra-cpp-driver-dev_2.14.0-1_amd64.deb" \ + && dpkg -i /tmp/cassandra-cpp-driver.deb /tmp/cassandra-cpp-driver-dev.deb \ + && rm /tmp/cassandra-cpp-driver.deb /tmp/cassandra-cpp-driver-dev.deb \ + && curl -L -o /tmp/cassandra.tar.gz "https://github.com/datastax/php-driver/archive/24d85d9f1d.tar.gz" \ + && mkdir /tmp/cassandra \ + && tar xfz /tmp/cassandra.tar.gz --strip 1 -C /tmp/cassandra \ + && rm -r /tmp/cassandra.tar.gz \ + && curl -L "https://github.com/datastax/php-driver/pull/135.patch" | patch -p1 -d /tmp/cassandra -i - \ + && mv /tmp/cassandra/ext /usr/src/php/ext/cassandra \ + && rm -rf /tmp/cassandra \ + && docker-php-ext-install cassandra \ + && docker-php-source delete if [[ $PHP_VERSION == "7.2" ]]; then docker-php-source extract \ diff --git a/tests/goss-7.2-3-lts.yaml b/tests/goss-7.2-3-lts.yaml index e1ac2c49..41a34aa4 100644 --- a/tests/goss-7.2-3-lts.yaml +++ b/tests/goss-7.2-3-lts.yaml @@ -38,6 +38,7 @@ command: - bcmath - bz2 - calendar + - cassandra - exif - gd - gmp diff --git a/tests/goss-7.2.yaml b/tests/goss-7.2.yaml index 671afdbc..1b257940 100644 --- a/tests/goss-7.2.yaml +++ b/tests/goss-7.2.yaml @@ -42,6 +42,7 @@ command: - bcmath - bz2 - calendar + - cassandra - exif - gd - gmp diff --git a/tests/goss-7.3.yaml b/tests/goss-7.3.yaml index 5874e955..af31b917 100644 --- a/tests/goss-7.3.yaml +++ b/tests/goss-7.3.yaml @@ -42,6 +42,7 @@ command: - bcmath - bz2 - calendar + - cassandra - exif - gd - gmp diff --git a/tests/goss-7.4.yaml b/tests/goss-7.4.yaml index e1935c04..c8a893bf 100644 --- a/tests/goss-7.4.yaml +++ b/tests/goss-7.4.yaml @@ -42,6 +42,7 @@ command: - bcmath - bz2 - calendar + - cassandra - exif - gd - gmp diff --git a/tests/goss-lts.yaml b/tests/goss-lts.yaml index 145476b9..7a3b83eb 100644 --- a/tests/goss-lts.yaml +++ b/tests/goss-lts.yaml @@ -42,6 +42,7 @@ command: - bcmath - bz2 - calendar + - cassandra - exif - gd - gmp