File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,14 @@ cache:
3030
3131before_install :
3232 - |
33- # Using PHP ZTS
33+ # Using PHP non- ZTS
3434 PHP_VERSION="$(php -r 'echo PHP_VERSION;')"
35- if ! [ -f "${HOME}/.phpenv/php-zts-built" ]; then
35+ if ! [ -f "${HOME}/.phpenv/php-non- zts-built" ]; then
3636 echo "Building PHP ZTS ${PHP_VERSION} ..."
3737 git clone git://github.com/php-build/php-build.git "${HOME}/.phpenv/plugins/php-build"
3838 phpenv install --verbose --force "${PHP_VERSION}"
3939 rm -rf "${HOME}/.phpenv/plugins/php-build"
40- touch "${HOME}/.phpenv/php-zts-built"
40+ touch "${HOME}/.phpenv/php-non- zts-built"
4141 fi
4242 phpenv rehash
4343 phpenv global "${PHP_VERSION}"
@@ -47,7 +47,9 @@ before_install:
4747install :
4848 - " phpize"
4949 - " CFLAGS=\" -Wall -Werror\" ./configure"
50- - " make"
50+ - " make -j \" $(nproc)\" "
51+ - " echo \" extension = $(realpath modules/memprof.so)\" >modules/memprof.ini"
52+ - " phpenv config-add modules/memprof.ini"
5153
5254script :
5355 - " php --ri memprof"
You can’t perform that action at this time.
0 commit comments