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: matrix:
include: include:
- php: '7.4' - php: '7.4'
wordpress: '5.7' wordpress: '5.8'
- php: '5.6' - php: '5.6'
wordpress: '4.7' wordpress: '4.7'
steps: steps:

View File

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

View File

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

View File

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