Changeset 12853
- Timestamp:
- 03/01/2021 08:23:16 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
.travis.yml (modified) (4 diffs)
-
Gruntfile.js (modified) (1 diff)
-
tests/phpunit/includes/define-constants.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/.travis.yml
r12852 r12853 22 22 - 7.3 23 23 - 7.2 24 - 5.625 24 26 25 # WordPress comes from the Git mirror, where 'master' mirrors svn 'trunk' and … … 28 27 env: 29 28 - WP_VERSION=master BP_TRAVISCI=travis:phpunit 29 - WP_VERSION=5.7 BP_TRAVISCI=travis:phpunit 30 30 - WP_VERSION=5.6 BP_TRAVISCI=travis:phpunit 31 31 - WP_VERSION=5.5 BP_TRAVISCI=travis:phpunit … … 43 43 - php: 7.3 44 44 env: WP_VERSION=master BP_TRAVISCI=travis:phpcompat 45 - php: 5.6 46 env: WP_VERSION=4.9 BP_TRAVISCI=travis:phpunit 45 47 exclude: 48 - php: 7.2 49 env: WP_VERSION=4.9 BP_TRAVISCI=travis:phpunit 46 50 - php: 7.3 47 51 env: WP_VERSION=4.9 BP_TRAVISCI=travis:phpunit 48 - php: 7.349 env: WP_VERSION=master BP_TRAVISCI=travis:phpunit50 52 51 53 # before_install: Failures in this section will result in build status 'errored' … … 99 101 # before_script: Failures in this section will result in build status 'errored' 100 102 before_script: 101 - if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then composer global require --dev phpunit/phpunit ^5; composer install; fi102 - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.2" ]]; then composer global require --dev phpunit/phpunit ^6; composer install; fi103 - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.3" ]]; then composer global require --dev phpunit/phpunit ^6; composer install; fi104 103 - mkdir -p /tmp/node/node_modules 105 104 - ln -s /tmp/node/node_modules $plugin_dir/node_modules -
trunk/Gruntfile.js
r12814 r12853 324 324 phpunit: { 325 325 'default': { 326 cmd: ' phpunit',326 cmd: './vendor/phpunit/phpunit/phpunit', 327 327 args: ['-c', 'phpunit.xml.dist'] 328 328 }, 329 329 'multisite': { 330 cmd: ' phpunit',330 cmd: './vendor/phpunit/phpunit/phpunit', 331 331 args: ['-c', 'tests/phpunit/multisite.xml'] 332 332 }, 333 333 'codecoverage': { 334 cmd: ' phpunit',334 cmd: './vendor/phpunit/phpunit/phpunit', 335 335 args: ['-c', 'tests/phpunit/codecoverage.xml' ] 336 336 } -
trunk/tests/phpunit/includes/define-constants.php
r12712 r12853 21 21 * up the directory tree 22 22 */ 23 if ( false !== getenv( 'WP_PHPUNIT__DIR' ) ) {23 if ( false !== getenv( 'WP_PHPUNIT__DIR' ) && defined( 'BP_USE_WP_ENV_TESTS' ) ) { 24 24 define( 'WP_TESTS_DIR', getenv( 'WP_PHPUNIT__DIR' ) ); 25 25 define( 'WP_ROOT_DIR', '/var/www/html' );
Note: See TracChangeset
for help on using the changeset viewer.