From 3744ce0a1e4ecdc6bdd27db6c33b2ead938d2638 Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Sun, 16 Jul 2017 17:33:27 +0200 Subject: [PATCH] Run tests in parallel (#170) * Run tests in parallel * Disable/enable some services * Do not install redis on PHP 5.6 * Run composer update * Install redis 3.0.0 * Enable redis extension but do not install * Bugfix * force instsall dependencies * Force install stuff * Fixes * Minors * Updated deps * Debub * Coverage fix * Reduce sleep * Because... you know * Sleep less * Applied changes from StyleCI * Applied changes from StyleCI --- .travis.yml | 4 ++-- composer.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 53bdb49..062df1a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,8 +18,8 @@ before_install: apc.use_request_time=0 " > ./apc.ini - phpenv config-add ./apc.ini - - yes '' | pecl install apcu - - yes '' | pecl install apcu_bc-beta + - yes '' | pecl install -f apcu + - yes '' | pecl install -f apcu_bc-beta - sed -i '1d' ${PHP_INI_FILE} - echo "extension=apc.so" > ./apcu_bc.ini - phpenv config-add ./apcu_bc.ini diff --git a/composer.json b/composer.json index 4232f48..0464386 100644 --- a/composer.json +++ b/composer.json @@ -4,6 +4,7 @@ "type": "library", "license": "MIT", "minimum-stability": "dev", + "prefer-stable": true, "keywords": [ "cache", "psr-6", @@ -32,7 +33,7 @@ "ext-apc": "The extension required to use this pool." }, "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.1", + "phpunit/phpunit": "^5.7.21", "cache/integration-tests": "^0.16" }, "provide": {