diff --git a/.travis.yml b/.travis.yml index 74dc0340..d7eb212b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,36 @@ -sudo: false - language: php + php: - 5.3 - 5.4 - 5.5 + - 5.6 + - 7.0 + + +cache: + directories: + - $HOME/.composer/cache + +matrix: + include: + - php: 5.3 + env: 'COMPOSER_FLAGS="--prefer-lowest --prefer-stable"' + - php: 5.4 + env: 'COMPOSER_FLAGS="--prefer-lowest --prefer-stable"' + - php: 5.5 + env: 'COMPOSER_FLAGS="--prefer-lowest --prefer-stable"' + - php: 5.6 + env: 'COMPOSER_FLAGS="--prefer-lowest --prefer-stable"' + - php: 7.0 + env: 'COMPOSER_FLAGS="--prefer-lowest --prefer-stable"' branches: only: - master before_script: - - composer update --prefer-source + - composer update --prefer-source $COMPOSER_FLAGS script: - bin/phpspec run -fpretty diff --git a/README.md b/README.md index fdd99738..f4586081 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ DictionaryBundle Are you often tired to repeat static choices like gender or civility in your apps ? ## Requirements -- Symfony >= 2.4 +- Symfony >= 2.5 ## Installation Add the DictionaryBundle to your `composer.json`: diff --git a/composer.json b/composer.json index 54066690..cad35287 100644 --- a/composer.json +++ b/composer.json @@ -17,17 +17,17 @@ "minimum-stability": "stable", "require": { "php": ">=5.3", - "symfony/http-kernel": "~2.4", - "symfony/dependency-injection": "~2.4", - "symfony/http-foundation": "~2.4", - "symfony/config": "~2.4", - "symfony/form": "~2.4", - "symfony/validator": "~2.4", + "symfony/http-kernel": "~2.5", + "symfony/dependency-injection": "~2.5", + "symfony/http-foundation": "~2.5", + "symfony/config": "~2.5", + "symfony/form": "~2.5", + "symfony/validator": "~2.5", "twig/twig": "~1.11", "fzaninotto/faker": "^1.5" }, "require-dev": { - "phpspec/phpspec": "~2.0", + "phpspec/phpspec": "~2.5", "bossa/phpspec2-expect": "~1.0" }, "config": {