From 8f6dab88165501dd17e8fdc0a7b0bba54d118bd2 Mon Sep 17 00:00:00 2001 From: Lukas Kahwe Smith Date: Wed, 18 Sep 2013 14:58:45 +0200 Subject: [PATCH] test different Symfony2 versions --- .travis.yml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7604e9c..95cdf0e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,23 @@ language: php php: - - 5.3 - - 5.4 - - 5.5 + - 5.3 + - 5.4 + - 5.5 + +env: + - SYMFONY_VERSION=2.0.* + - SYMFONY_VERSION=2.1.* + - SYMFONY_VERSION=2.2.* + - SYMFONY_VERSION=2.3.* + - SYMFONY_VERSION=dev-master before_script: - - curl -s http://getcomposer.org/installer | php - - php composer.phar install --dev --prefer-source + - composer require symfony/symfony:${SYMFONY_VERSION} --no-interaction --prefer-source + +script: + - phpunit --coverage-text + +matrix: + allow_failures: + - env: SYMFONY_VERSION=dev-master