From d6049f8631883d6ceb62b8220cb8b82d9f8cb364 Mon Sep 17 00:00:00 2001 From: Sam-Burns Date: Fri, 31 Mar 2017 00:49:17 +0100 Subject: [PATCH] Adding breaking build testing with minimum Composer dependencies --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 2bf994718..5509e3970 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,8 @@ before_script: - if [[ $TRAVIS_PHP_VERSION -lt '7.0' && $TRAVIS_PHP_VERSION != 'hhv*' ]]; then phpenv config-rm xdebug.ini; fi - composer self-update - composer install --prefer-source + - if [ "$DEPENDENCIES" != "low" ]; then composer update; fi; + - if [ "$DEPENDENCIES" == "low" ]; then composer update --prefer-lowest; fi; script: - ENABLE_SECOND_LEVEL_CACHE=0 ./vendor/bin/phpunit -v -c tests/travis/$DB.travis.xml $PHPUNIT_FLAGS @@ -37,6 +39,10 @@ matrix: env: DB=mariadb addons: mariadb: 10.1 + - php: 7.1 + env: + - DB=sqlite + - DEPENDENCIES='low' - php: hhvm sudo: true dist: trusty