ci: add WP 5.8 to automated test roster
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Stefan Kalscheuer 2021-10-18 18:33:23 +02:00
parent 2cc277638f
commit caf471d3bf
4 changed files with 7 additions and 6 deletions

View File

@ -7,7 +7,7 @@ jobs:
matrix:
include:
- php: '7.4'
wordpress: '5.7'
wordpress: '5.8'
- php: '5.6'
wordpress: '4.7'
steps:

View File

@ -9,7 +9,7 @@
* Contributors: Stefan Kalscheuer
* Tags: liveticker, feed, rss
* Requires at least: 4.7
* Tested up to: 5.7
* Tested up to: 5.8
* Requires PHP: 5.6
* Stable tag: 1.1.1
* License: GPLv2 or later

View File

@ -24,12 +24,11 @@
"phpunit/phpunit": "^5|^6|^7",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"slowprog/composer-copy-file": "~0.3",
"squizlabs/php_codesniffer": "^3.5",
"squizlabs/php_codesniffer": "^3.6",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"wp-coding-standards/wpcs": "^2.3",
"patchwork/jsqueeze": "^2.0",
"natxet/cssmin": "^3.0",
"matthiasmullie/minify": "^1.3"
"matthiasmullie/minify": "^1.3",
"yoast/phpunit-polyfills": "^1.0"
},
"scripts": {
"post-install-cmd": [

View File

@ -5,6 +5,8 @@
* @package SCLiveticker
*/
require_once __DIR__ . '/../vendor/yoast/phpunit-polyfills/phpunitpolyfills-autoload.php';
$_tests_dir = getenv( 'WP_TESTS_DIR' );
if ( ! $_tests_dir ) {