Make WordPress Core

Changeset 45827 for trunk/.travis.yml


Ignore:
Timestamp:
08/19/2019 02:17:50 AM (6 years ago)
Author:
pento
Message:

Tests: Add an xdebug group for tests that require xdebug.

These tests are now also run as their own part of the Travis build, to ensure performance of other tests isn't affected by the presence of xdebug.

Fixes #40532.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r45799 r45827  
    112112      npm run test:php -- --verbose -c tests/phpunit/multisite.xml --group ms-files &&
    113113      npm run test:php -- --verbose -c phpunit.xml.dist --group external-http &&
    114       npm run test:php -- --verbose -c phpunit.xml.dist --group restapi-jsclient
     114      npm run test:php -- --verbose -c phpunit.xml.dist --group restapi-jsclient &&
     115      # __fakegroup__ is excluded to force PHPUnit to ignore the <exclude> settings in phpunit.xml.dist.
     116      LOCAL_PHP_XDEBUG=true npm run test:php -- -v --group xdebug --exclude-group __fakegroup__
    115117    elif [[ "$WP_TRAVISCI" == "lint:php" ]]; then
    116118      docker-compose run --rm php composer format &&
Note: See TracChangeset for help on using the changeset viewer.