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.


git-svn-id: https://develop.svn.wordpress.org/trunk@45762 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast
2019-08-07 11:54:22 +00:00
parent 008085d870
commit 4271f1aeca
7 changed files with 43 additions and 41 deletions

View File

@@ -835,7 +835,7 @@ class WP_Object_Cache {
if ( isset( $memcached_servers ) ) {
$this->servers = $memcached_servers;
} else {
$this->servers = array( array( '127.0.0.1', 11211 ) );
$this->servers = array( array( 'memcached', 11211 ) );
}
$this->addServers( $this->servers );