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

Convert Travis to GitHub actions #107

Merged
merged 5 commits into from
Dec 23, 2020

Conversation

bishopb
Copy link

@bishopb bishopb commented Dec 11, 2020

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

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
    \

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • "Ready for review" label attached to the PR and reviewers mentioned in a comment
  • Changes have been reviewed by at least one other engineer
  • Issue from task tracker has a link to this pull request

Bishop Bettini added 4 commits December 10, 2020 22:43
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
@bishopb bishopb requested review from mrunalk and waltjones December 11, 2020 04:08
@bishopb bishopb self-assigned this Dec 11, 2020
@bishopb bishopb marked this pull request as ready for review December 11, 2020 04:08
@bishopb
Copy link
Author

bishopb commented Dec 11, 2020

@waltjones and @mrunalk -- Ready for review.

@bishopb bishopb force-pushed the chore/CH-76807/travis-to-github-action branch from af839b3 to 044f08c Compare December 11, 2020 04:13
php-tests:
strategy:
matrix:
php: [7.3, 7.2]
Copy link

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+?

Copy link
Author

@bishopb bishopb Dec 19, 2020

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.

Copy link

Choose a reason for hiding this comment

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

Sounds good.

@bishopb bishopb requested a review from mrunalk December 19, 2020 03:00
php-tests:
strategy:
matrix:
php: [7.3, 7.2]
Copy link

Choose a reason for hiding this comment

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

Sounds good.

@bishopb bishopb merged commit 8b7a989 into master Dec 23, 2020
@bishopb bishopb deleted the chore/CH-76807/travis-to-github-action branch March 20, 2021 19:15
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.

3 participants