Commit 3a055be9 authored by Bo Yang's avatar Bo Yang

Prepare jenkins for testing php zts build.

parent 640c9474
...@@ -87,6 +87,7 @@ RUN apt-get clean && apt-get update && apt-get install -y --force-yes \ ...@@ -87,6 +87,7 @@ RUN apt-get clean && apt-get update && apt-get install -y --force-yes \
php7.0-xml \ php7.0-xml \
phpunit \ phpunit \
valgrind \ valgrind \
libxml2-dev \
&& apt-get clean && apt-get clean
################## ##################
...@@ -160,6 +161,11 @@ RUN cd /tmp && \ ...@@ -160,6 +161,11 @@ RUN cd /tmp && \
ln -sfn /usr/bin/phpize7.0 /usr/bin/phpize && \ ln -sfn /usr/bin/phpize7.0 /usr/bin/phpize && \
composer install && \ composer install && \
mv vendor /usr/local/vendor-7.0 mv vendor /usr/local/vendor-7.0
RUN wget http://am1.php.net/get/php-5.5.38.tar.bz2/from/this/mirror
RUN mv mirror php-5.5.38.tar.bz2
RUN tar -xvf php-5.5.38.tar.bz2
RUN cd php-5.5.38 && ./configure --enable-maintainer-zts --prefix=/usr/local/php-5.5-zts && \
make && make install
################## ##################
# Go dependencies. # Go dependencies.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment