Opened 5 years ago
Closed 5 years ago
#46633 closed enhancement (fixed)
Enable the persistent object cache on a PHP 7 build on Travis CI
Reported by: | johnbillion | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.2 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
Currently there's an extra Travis CI build for PHP 5.6 which enables the persistent object cache using memcached.
The persistent object cache should be enabled on a PHP 7.3 build.
Once that's done, the 5.6 build with the persistent object cache can be removed in order to keep the build numbers down.
Attachments (1)
Change History (4)
#2
@
5 years ago
- Keywords commit added
- Milestone changed from Future Release to 5.2
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.
Note: See
TracTickets for help on using
tickets.
Testing 46633.diff in https://github.com/WordPress/wordpress-develop/pull/50