[wp-trac] [WordPress Trac] #46633: Enable the persistent object cache on a PHP 7 build on Travis CI
WordPress Trac
noreply at wordpress.org
Mon Mar 25 05:59:30 UTC 2019
#46633: Enable the persistent object cache on a PHP 7 build on Travis CI
------------------------------+---------------------
Reporter: johnbillion | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.2
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+---------------------
Changes (by netweb):
* keywords: has-patch => has-patch commit
* milestone: Future Release => 5.2
Comment:
The CI Build: https://travis-ci.com/WordPress/wordpress-
develop/builds/105618774
The CI job: https://travis-ci.com/WordPress/wordpress-
develop/jobs/187367221
https://travis-ci.com/WordPress/wordpress-develop/jobs/187367221#L414
{{{
$ sudo service memcached start
Starting memcached: memcached is already running.
memcached.
}}}
https://travis-ci.com/WordPress/wordpress-develop/jobs/187367221#L491
{{{
$ if [[ "$WP_TRAVIS_OBJECT_CACHE" == "true" ]]; then
cp tests/phpunit/includes/object-cache.php src/wp-content/object-
cache.php
echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv
version-name)/etc/php.ini
fi
}}}
CI job passes, tests pass, no noticeable issues looking at the CI job log.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46633#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list