Remove Travis CI and replace with GitHub Actions#226
Merged
Conversation
Co-authored-by: JJJ <88951+JJJ@users.noreply.github.com>
Co-authored-by: JJJ <88951+JJJ@users.noreply.github.com>
Co-authored-by: JJJ <88951+JJJ@users.noreply.github.com>
Co-authored-by: JJJ <88951+JJJ@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove all usage of Travis and replace with GitHub Actions
Remove Travis CI and replace with GitHub Actions
Dec 7, 2025
Contributor
There was a problem hiding this comment.
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 <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
JJJ
approved these changes
Dec 7, 2025
Collaborator
|
@copilot set minimum PHP version to 7.4 to prevent PHPUnit and PHPStan errors. |
Co-authored-by: JJJ <88951+JJJ@users.noreply.github.com>
Contributor
Author
JJJ
approved these changes
Dec 7, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.