Make WordPress Core


Ignore:
Timestamp:
08/07/2019 11:54:22 AM (6 years ago)
Author:
pento
Message:

Build Tools: Switch all Travis PHPUnit jobs over to Docker-based PHP.

Additionally, there are a handful of related minor changes in this commit:

  • .travis.yml has been tidied up a little.
  • [45745] was incorrectly marking Travis jobs as passed when some PHPUnit runs failed.
  • Add the LOCAL_PHP_MEMCACHED environment variable, for enabling Memcached.
  • Add the env:pull NPM script, for refreshing Docker images.

See #47767.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/ajax/CustomizeMenus.php

    r45607 r45762  
    5555        if ( 'administrator' !== $role ) {
    5656            // If we're not an admin, we should get a wp_die(-1).
    57             $this->setExpectedException( 'WPAjaxDieStopException' );
     57            $this->setExpectedException( 'WPAjaxDieStopException', '-1' );
    5858        }
    5959
     
    444444        if ( 'administrator' !== $role ) {
    445445            // If we're not an admin, we should get a wp_die(-1).
    446             $this->setExpectedException( 'WPAjaxDieStopException' );
     446            $this->setExpectedException( 'WPAjaxDieStopException', '-1' );
    447447        }
    448448
Note: See TracChangeset for help on using the changeset viewer.