-
Notifications
You must be signed in to change notification settings - Fork 74
Remove Travis CI and replace with GitHub Actions #226
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
Conversation
Co-authored-by: JJJ <[email protected]>
Co-authored-by: JJJ <[email protected]>
Co-authored-by: JJJ <[email protected]>
Co-authored-by: JJJ <[email protected]>
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.
Pull request overview
This PR successfully migrates the continuous integration setup from Travis CI to GitHub Actions, modernizing the testing infrastructure while maintaining feature parity and adding expanded PHP version coverage.
Key Changes
- New GitHub Actions workflow with PHPUnit testing across PHP 7.2-8.2 and WordPress 4.9/latest/trunk
- Complete Travis CI removal including configuration file and all references in ignore lists
- Documentation updates to reflect the GitHub Actions integration
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/phpunit-ci.yml |
New PHPUnit CI workflow with matrix testing, MySQL service container, and experimental trunk builds |
.travis.yml |
Removed 95-line legacy Travis CI configuration |
CONTRIBUTING.md |
Updated CI integration references from Travis-CI to GitHub Actions |
.gitattributes |
Cleaned up export-ignore directive for .travis.yml |
.distignore |
Removed .travis.yml from distribution ignore list |
deploy.sh |
Removed .travis.yml from SVN ignore properties |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
|
@copilot set minimum PHP version to 7.4 to prevent PHPUnit and PHPStan errors. |
Co-authored-by: JJJ <[email protected]>
Removes legacy Travis CI configuration and replaces it with a native GitHub Actions workflow for PHPUnit testing.
Changes
.github/workflows/phpunit-ci.yml: PHPUnit test matrix covering PHP 7.4-8.2 and WordPress 4.9/latest/trunk with MySQL 5.7 service container.travis.yml: 95-line Travis CI configuration fileCONTRIBUTING.md: Replaced Travis CI references with GitHub Actions.travis.ymlfrom.gitattributes,.distignore, anddeploy.shWorkflow Features
Existing GitHub Actions workflows for PHPCS, PHPStan, and WordPress.org deployment remain unchanged.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.