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

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

Build:
Build:
LAST BUILD BRANCH: upgrade-phpenv
DEFAULT BRANCH: master
Ran 14 Apr 2016 08:57PM UTC
Jobs 3
Files 1
Run time 9s
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
9

push

travis-ci

PhilippBaschke
Get version of ACF PRO package from composer.json

The repository that is added by the plugin needs to specify the ACF PRO
package in a version that matches the version constraint of the user. To
ensure that this is given, the plugin uses the version constraint that
the user supplied.

E.g users composer.json:
...
"require": {
  ...
  "advanced-custom-fields/advanced-custom-fields-pro": "1.2.3",
  ...
}
...
--> Version used: 1.2.3

It works if the user specifies the package in require or require-dev. If
the user does not require the package at all, the repository is never
added because it is unnecessary. The case where the user specifies the
package in require AND require-dev is not covered. The plugin will use
the version from the require field (which might not be the expected
behavior for the user). This case was omited because it seems unlikely.

14 of 14 new or added lines in 1 file covered. (100.0%)

21 of 21 relevant lines covered (100.0%)

11.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9.1 14 Apr 2016 08:57PM UTC 0
100.0
Travis Job 9.1
2 9.2 14 Apr 2016 08:57PM UTC 0
100.0
Travis Job 9.2
4 9.4 14 Apr 2016 08:57PM UTC 0
100.0
Travis Job 9.4
Source Files on build 9
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #9
  • 1bfa2a3c on github
  • Prev Build on feature-composer-plugin (#8)
  • Next Build on feature-composer-plugin (#10)
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