I got annoyed at all of the pull-requests having a red :x: next to builds.
This merge request fixes that by adding a .travis.yml file that triggers a PHP build.
It tries to find a balance between speed and quality.
I've also added a fix for a PHP CodeSniffer violation (one line exceeded 120 characters).
Related Issues
Part of issue #9
Caveats
The dealerdirect/qa-tools is installed on the Travis machine to run QA checks.
Currently this means the build for unsupported PHP versions (5.3, 5.4, 5.4) will fail because qa-tools requires at least 5.6.
At a later stage, these builds could be made to pass. Such a solution is not within scope for this merge-request.
Proposed Changes
I got annoyed at all of the pull-requests having a red :x: next to builds.
This merge request fixes that by adding a
.travis.yml
file that triggers a PHP build. It tries to find a balance between speed and quality.I've also added a fix for a PHP CodeSniffer violation (one line exceeded 120 characters).
Related Issues
Part of issue #9
Caveats
The
dealerdirect/qa-tools
is installed on the Travis machine to run QA checks. Currently this means the build for unsupported PHP versions (5.3, 5.4, 5.4) will fail becauseqa-tools
requires at least 5.6.At a later stage, these builds could be made to pass. Such a solution is not within scope for this merge-request.