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

Greener Travis? #2589

Merged
merged 1 commit into from Oct 24, 2019
Merged

Greener Travis? #2589

merged 1 commit into from Oct 24, 2019

Conversation

Alkarex
Copy link
Member

@Alkarex Alkarex commented Oct 23, 2019

With PHP 7.4 just around the corner, I suggest to test only the minimum
and maximum PHP versions we support in Travis, to save resources
(greener).
For the translation check, with can test with max version -1 (or min version + 1, or median :-P) to run on
yet another PHP version.
It makes also the Travis tests faster to complete.

With PHP 7.4 just around the corner, I suggest to test only the minimum
and maximum PHP versions we support in Travis, to save resources
(greener).
For the translation check, with can test with max version -1 to run on
yet another PHP version.
It makes also the Travis tests faster to complete.
@Alkarex Alkarex added this to the 1.15.0 milestone Oct 23, 2019
@Alkarex Alkarex requested a review from Frenzie October 23, 2019 19:07
Copy link
Member

@Frenzie Frenzie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the current tests there should be very little lost, although it seems like it might be possible php -l could miss something that's only problematic in, e.g., PHP 7.1.

Definitely not necessary for phpcs of course; that was more of a proof of concept for testing different versions and that was the only thing available at the time.

Copy link
Member

@marienfressinaud marienfressinaud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea 👍

@Alkarex Alkarex merged commit 7e5ca99 into FreshRSS:dev Oct 24, 2019
@Alkarex Alkarex deleted the greener_travis branch October 24, 2019 07:43
@Alkarex Alkarex mentioned this pull request Oct 26, 2019
javerous pushed a commit to javerous/FreshRSS that referenced this pull request Jan 20, 2020
With PHP 7.4 just around the corner, I suggest to test only the minimum
and maximum PHP versions we support in Travis, to save resources
(greener).
For the translation check, with can test with max version -1 to run on
yet another PHP version.
It makes also the Travis tests faster to complete.
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.

None yet

3 participants