Ticket #31491: 31491.diff
File 31491.diff, 1.0 KB (added by , 10 years ago) |
---|
-
.travis.yml
1 1 sudo: false 2 2 language: php 3 services: 4 - memcached 3 5 matrix: 4 6 include: 5 7 - php: 5.5 … … 14 16 env: WP_TRAVISCI=travis:phpunit 15 17 - php: 5.6 16 18 env: WP_TRAVISCI=travis:phpunit 19 - php: 5.6 20 env: WP_TRAVISCI=travis:phpunit WP_MEMCACHE=true 17 21 - php: hhvm 18 22 env: WP_TRAVISCI=travis:phpunit 19 23 - php: nightly … … 33 37 sed -i "s/yourpasswordhere//" wp-tests-config.php 34 38 svn checkout https://plugins.svn.wordpress.org/wordpress-importer/trunk tests/phpunit/data/plugins/wordpress-importer 35 39 fi 40 - | 41 if [[ "$WP_MEMCACHE" == "true" ]]; then 42 curl https://plugins.svn.wordpress.org/memcached/trunk/object-cache.php > src/wp-content/object-cache.php 43 echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini 44 fi 36 45 before_script: 37 46 - npm install -g npm 38 47 - npm install -g grunt-cli