Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 25a7333

Browse filesBrowse files
jderussenicolas-grekas
authored andcommitted
Display php info for extra versions in travis
1 parent 777658c commit 25a7333
Copy full SHA for 25a7333

File tree

Expand file treeCollapse file tree

1 file changed

+12
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+12
-1
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+12-1Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ before_install:
174174
for PHP in $TRAVIS_PHP_VERSION $php_extra; do
175175
export PHP=$PHP
176176
phpenv global $PHP
177+
composer self-update
178+
composer self-update --2
177179
INI=~/.phpenv/versions/$PHP/etc/conf.d/travis.ini
178180
if [[ $PHP = 5.* ]]; then
179181
tfold ext.apcu tpecl apcu-4.0.11 apcu.so $INI
@@ -278,7 +280,16 @@ install:
278280
279281
- |
280282
# phpinfo
281-
php -i
283+
phpinfo() {
284+
phpenv global $1
285+
php -r 'foreach (get_loaded_extensions() as $extension) echo $extension . " " . phpversion($extension) . PHP_EOL;'
286+
php -i
287+
}
288+
export -f phpinfo
289+
290+
for PHP in $TRAVIS_PHP_VERSION $php_extra; do
291+
tfold $PHP phpinfo $PHP
292+
done
282293
283294
- |
284295
run_tests () {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.