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:
30
30
31
31
before_install :
32
32
- |
33
- # Using PHP ZTS
33
+ # Using PHP non- ZTS
34
34
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
36
36
echo "Building PHP ZTS ${PHP_VERSION} ..."
37
37
git clone git://github.com/php-build/php-build.git "${HOME}/.phpenv/plugins/php-build"
38
38
phpenv install --verbose --force "${PHP_VERSION}"
39
39
rm -rf "${HOME}/.phpenv/plugins/php-build"
40
- touch "${HOME}/.phpenv/php-zts-built"
40
+ touch "${HOME}/.phpenv/php-non- zts-built"
41
41
fi
42
42
phpenv rehash
43
43
phpenv global "${PHP_VERSION}"
@@ -47,7 +47,9 @@ before_install:
47
47
install :
48
48
- " phpize"
49
49
- " 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"
51
53
52
54
script :
53
55
- " php --ri memprof"
You can’t perform that action at this time.
0 commit comments