-
Notifications
You must be signed in to change notification settings - Fork 40
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
Convert Travis to GitHub actions #107
Conversation
Based on the implementation in rollbar-php, this attempts to mimic the existing Travis CI configuration.
In the last green Travis build[1], coveralls failed with "command not found". We fixed that particular error in this build but there are still missing environment variables. Since the scope of this change is to replace the existing Travis behavior, we'll stop here and let the coveralls fail but ignore that fact. [1]:https://travis-ci.org/github/rollbar/rollbar-php-laravel/jobs/743942091
@waltjones and @mrunalk -- Ready for review. |
af839b3
to
044f08c
Compare
php-tests: | ||
strategy: | ||
matrix: | ||
php: [7.3, 7.2] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about support for PHP 7.4+?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mrunalk I'm keeping the scope narrow on this PR, specifically to emulate the original Travis behavior as closely as possible. Since the original Travis definition tested only on 7.3 and 7.2, I have retained that compatibility. Future releases will sort all this out, so that all documented versions will be under test. That's a bigger fish to fry, so I'm doing that in chunks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good.
php-tests: | ||
strategy: | ||
matrix: | ||
php: [7.3, 7.2] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good.
Description of the change
Based on the implementation in rollbar-php, this mimics the existing Travis CI configuration. We ignore certain unfortunate facts, like we're not testing on 7.4 and coveralls fails. Refer to the last green Travis build.
Type of change
\
Checklists
Development
Code review