File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Original file line number Diff line number Diff line change @@ -96,14 +96,17 @@ before_install:
96
96
97
97
# tpecl is a helper to compile and cache php extensions
98
98
tpecl () {
99
+ ls /home/travis/php-ext/no-debug-zts-20160303 || true
99
100
local ext_name=$1
100
101
local ext_so=$2
101
102
local INI=$3
102
103
local input=${4:-yes}
103
104
local ext_dir=$(php -r "echo ini_get('extension_dir');")
104
105
local ext_cache=~/php-ext/$(basename $ext_dir)/$ext_name
106
+ ls $(basename $ext_cache) || true
105
107
106
108
if [[ -e $ext_cache/$ext_so ]]; then
109
+ echo extension = $ext_cache/$ext_so
107
110
echo extension = $ext_cache/$ext_so >> $INI
108
111
else
109
112
rm ~/.pearrc /tmp/pear 2>/dev/null || true
@@ -147,7 +150,9 @@ before_install:
147
150
composer self-update --2
148
151
INI=~/.phpenv/versions/$PHP/etc/conf.d/travis.ini
149
152
if ! php --ri sodium > /dev/null; then
153
+ [[ -e /home/travis/php-ext/no-debug-zts-20160303/libsodium/sodium.so ]]; echo $?
150
154
tfold ext.libsodium tpecl libsodium sodium.so $INI
155
+ [[ -e /home/travis/php-ext/no-debug-zts-20160303/libsodium/sodium.so ]]; echo $?
151
156
fi
152
157
if [[ $PHP = 8.* ]]; then
153
158
tfold ext.memcached tpecl memcached-3.1.5 memcached.so $INI
You can’t perform that action at this time.
0 commit comments