Update Travis file and fix build#86
Merged
mjrider merged 5 commits intoPHPCSStandards:masterfrom Sep 20, 2019
Merged
Conversation
Member
Author
2e65b1d to
49e4850
Compare
Member
Author
|
Looks like this fixes part of the issue... PHP5.4 and PHP5.5 need Trusty to build. However, changing the matrix to this: did not yield the expected result (i.e. Trusty being used...) |
jrfnl
reviewed
Sep 11, 2019
Member
jrfnl
left a comment
There was a problem hiding this comment.
Some suggestions:
- As this repo does not have a committed
composer.lockfile, instead of using thesensiolabs/security-checkeras you are now, you could replace that Composer dependency withroave/security-advisories.
That way, the check will still be executed, but will be done during thecomposer installstep and it would remove your dependency on an outside URL during your builds. - Adding
dist: trustyat the top of the script (and removingsudo: falsewhich is no longer supported) should fix the build failures for PHP 5.4 and 5.5.
Member
|
Oh and as you're making changes to the Travis script now anyway, why not add a build against |
f89fa5a to
f55f292
Compare
4e00d60 to
bfc7155
Compare
- Only run secondary checks once (on latest PHP version)
bfc7155 to
12118a3
Compare
Member
Author
|
@mjrider I'm all done. Can you please review/approve so these changes can be merged to master? They are needed before I can update the other open MRs. |
jrfnl
reviewed
Sep 15, 2019
jrfnl
reviewed
Sep 15, 2019
jrfnl
reviewed
Sep 15, 2019
jrfnl
reviewed
Sep 15, 2019
jrfnl
reviewed
Sep 15, 2019
Special consideration for the php 5.3 build, its 🤪
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Proposed Changes
Currently the Travis build is breaking because the URL used by the security-checker no longer exists.
This MR updates that URL to the new home in order to fix the build.
It also adds a preview for PHP 7.4 and makes minor changes to improve the build step.