minor #19264 [travis] Fix deps=low/high builds (nicolas-grekas)
This PR was merged into the 2.7 branch.
Discussion
----------
[travis] Fix deps=low/high builds
| Q | A
| ------------- | ---
| Branch? | 2.7
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
Commits
-------
72fd0b8
[travis] Fix deps=low/high builds
This commit is contained in:
commit
e262ef046b
4
.github/travis.php
vendored
4
.github/travis.php
vendored
@ -46,8 +46,8 @@ foreach ($dirs as $dir) {
|
|||||||
$versions = file_get_contents('https://packagist.org/packages/'.$package->name.'.json');
|
$versions = file_get_contents('https://packagist.org/packages/'.$package->name.'.json');
|
||||||
$versions = json_decode($versions);
|
$versions = json_decode($versions);
|
||||||
|
|
||||||
foreach ($versions->package->versions as $version => $package) {
|
foreach ($versions->package->versions as $v => $package) {
|
||||||
$packages[$package->name] += array($version => $package);
|
$packages[$package->name] += array($v => $package);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user