From 7eec3f1b7f7dc1107550118eb2eeed8782757ceb Mon Sep 17 00:00:00 2001 From: Norbert Orzechowicz Date: Tue, 14 Jul 2015 09:07:50 +0200 Subject: [PATCH] Added test for lowest versions of dependnecies --- .travis.yml | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index b4dde454..d4f45d5b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,24 @@ language: php -php: - - 5.3 - - 5.4 - - 5.5 +matrix: + include: + - php: 5.3 + env: DEPENDENCIES='low' + - php: 5.3 + - php: 5.4 + - php: 5.5 + - php: 5.6 + - php: hhvm + allow_failures: + - env: DEPENDENCIES='low' -before_script: - - curl -s http://getcomposer.org/installer | php - - php composer.phar --dev install +before_install: + - composer self-update -script: bin/phpunit --coverage-text +install: + - export COMPOSER_ROOT_VERSION=dev-master + - if [ "$DEPENDENCIES" != "low" ]; then composer update; fi; + - if [ "$DEPENDENCIES" == "low" ]; then composer update --prefer-lowest; fi; + +script: + - ./bin/phpunit --coverage-text