From fcc0659e36573cf332cb266325c9e055148042c2 Mon Sep 17 00:00:00 2001 From: Norbert Orzechowicz Date: Tue, 14 Jul 2015 09:14:43 +0200 Subject: [PATCH] Added tests for lowest versions of dependencies --- .travis.yml | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index b4dde454..8f012bd8 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 --testdox