Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Travis Builds #9

Merged
merged 15 commits into from
Apr 27, 2021
Merged

Fix Travis Builds #9

merged 15 commits into from
Apr 27, 2021

Conversation

jazzsequence
Copy link
Contributor

@jazzsequence jazzsequence commented Apr 26, 2021

travis builds are failing on 5.6 which begs the question, should we even be testing 5.6?
with the migration to 7.4, we should be testing that.

This also bumps PHPUnit which also causes a travis build failure (though the unit tests run fine).

example (failing) build: https://travis-ci.org/github/humanmade/wp-redis-predis-client/jobs/519335994

travis builds are failing on 5.6 which begs the question, should we even be testing 5.6? 
with the migration to 7.4, we _should_ be testing that.
@jazzsequence jazzsequence self-assigned this Apr 26, 2021
Chris Reynolds and others added 7 commits April 26, 2021 13:26
they're allowed to fail, but they need to be included
required for wp unit
will add this back, i just can't clear the cache with my permissions
@jazzsequence
Copy link
Contributor Author

Note: Travis builds are still failing due to an outdated version of PHPUnit (the tests themselves are running & passing). I've updated the composer.json but I don't have access to log into the Travis machine to do any troubleshooting there.

@jazzsequence jazzsequence marked this pull request as draft April 26, 2021 20:13
composer.json Outdated Show resolved Hide resolved
@roborourke
Copy link
Contributor

@jazzsequence yeah you have to specifically request machine access for public repos as it can be abused or provide a way for people to get potentially private env variables etc.

Looks like the composer.lock doesn't reflect the updated phpunit version from what I can see so that could be why it's failing.

@roborourke
Copy link
Contributor

There were quite a few updates required more generally, agree regarding PHP 5.x so I've removed those:

  • Updated PHPUnit, minimum supported version will be PHP 7.1
  • Updated tests accordingly
  • Added PHP 7.3 to matrix
  • Allow PHP 7.0 to fail

@roborourke roborourke changed the title allow failures for php 5.x & add checks for 7.4 Fix Travis Builds Apr 27, 2021
@roborourke roborourke marked this pull request as ready for review April 27, 2021 10:26
@roborourke roborourke merged commit 9ef2839 into master Apr 27, 2021
@roborourke roborourke deleted the fix-travis-build-failures branch April 27, 2021 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants