From d10f41d769d91d7c201c8dfef93c98ee12e4675c Mon Sep 17 00:00:00 2001 From: Sullivan SENECHAL Date: Mon, 20 Apr 2015 13:22:30 +0200 Subject: [PATCH] Improve travis configuration --- .travis.yml | 38 ++++++++++++++++++++++++++++---------- 1 file changed, 28 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 95efa01f..8d5685f9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,21 +1,39 @@ language: php php: - - 5.3 - - 5.4 - - 5.5 - - 5.6 - - hhvm - + - 5.3 + - 5.4 + - 5.5 + - 5.6 + - hhvm + - nightly + +env: + - SYMFONY_VERSION=2.6.* + matrix: - allow_failures: - - php: hhvm + include: + - php: 5.3.3 + env: SYMFONY_VERSION=2.6.* COMPOSER_FLAGS="--prefer-lowest" + - php: 5.6 + env: SYMFONY_VERSION=2.6.* + - php: 5.6 + env: SYMFONY_VERSION=2.7.*@dev + - php: 5.6 + env: SYMFONY_VERSION=2.8.*@dev + allow_failures: + - php: hhvm + - env: SYMFONY_VERSION=2.7.*@dev + - env: SYMFONY_VERSION=2.8.*@dev + - php: nightly services: mongodb before_script: - - echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` - - composer update --dev + - echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` + - composer selfupdate + - composer require symfony/symfony:${SYMFONY_VERSION} --no-update + - composer update --prefer-source $COMPOSER_FLAGS notifications: email: travis-ci@generation-multiple.com