-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #119 from humanmade/fix-travis
Add support for returning `WP_Error` objects
- Loading branch information
Showing
8 changed files
with
185 additions
and
63 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
tests/tests/class-wp-core-cron.php | ||
.phpunit.result.cache | ||
composer.lock | ||
vendor/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,25 @@ | ||
language: php | ||
php: | ||
- 7.1 | ||
- 7.2 | ||
- 7.3 | ||
- 7.4 | ||
- 8.0 | ||
- 8.1 | ||
env: | ||
- WP_VERSION=latest WP_MULTISITE=0 | ||
- WP_VERSION=latest WP_MULTISITE=1 | ||
matrix: | ||
include: | ||
- php: 7.3 | ||
- php: 8.0 | ||
env: WP_VERSION=trunk WP_MULTISITE=0 | ||
- php: 7.3 | ||
- php: 8.0 | ||
env: WP_VERSION=trunk WP_MULTISITE=1 | ||
allow_failures: | ||
- php: 8.1 | ||
services: | ||
- mysql | ||
install: | ||
- composer install | ||
- bash tests/install-tests.sh wordpress_test root '' 127.0.0.1 $WP_VERSION | ||
script: | ||
# 32656 tests are related to the pre_*_event filters which we're using already | ||
- vendor/bin/phpunit --exclude-group 32656 | ||
- vendor/bin/phpunit | ||
notifications: | ||
email: false |
This file contains 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
This file contains 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
Oops, something went wrong.