• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PhilippBaschke / acf-pro-installer / 17
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: upgrade-phpenv
DEFAULT BRANCH: master
Ran 23 Apr 2016 02:39PM UTC
Jobs 4
Files 3
Run time 24s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
17

push

travis-ci

PhilippBaschke
Make plugin work on fresh install and update

The plugin would only work if it was installed before ACF PRO should be
installed. It would fail on a fresh install (because ACF PRO could not
be found in any repository). This means that the user needs to supply a
package repository that contains a desired version, and a dist
url (without version and key). This package has to require the installer
to make sure that the plugin is available before installing ACF PRO.

Another problem was, that the plugin would save the key in
composer.lock. Since it is common practice to put composer.lock under
version control the purpose of the plugin would be defeated. To avoid
this problem, only the version is appended to the url that the users
supplies and the key is only added to the url for the download (with the
PreFileDownload event).

The version however needs to be added to the package. Otherwise the url
for every version would be the same which leads to composer using
already cached files although the might be from a different
version (composer can't tell because the url is exactly the same).

Should work with `composer install`, `composer install` (from
composer.lock), `composer update` and `composer require`.

50 of 50 new or added lines in 2 files covered. (100.0%)

68 of 75 relevant lines covered (90.67%)

16.13 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
100.0
src/ACFProInstaller/RemoteFilesystem.php
Jobs
ID Job ID Ran Files Coverage
1 17.1 23 Apr 2016 02:40PM UTC 0
100.0
Travis Job 17.1
2 17.2 23 Apr 2016 02:40PM UTC 0
90.67
Travis Job 17.2
3 17.3 23 Apr 2016 02:39PM UTC 0
90.67
Travis Job 17.3
4 17.4 23 Apr 2016 02:40PM UTC 0
100.0
Travis Job 17.4
Source Files on build 17
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #17
  • 872b0351 on github
  • Next Build on fix-lock-file (#18)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc