From 05c715c8710403fa6135a2276a30bffc522060ca Mon Sep 17 00:00:00 2001 From: Krzysztof Kubacki Date: Mon, 19 Aug 2019 10:25:24 +0200 Subject: [PATCH] PHP version travis matrix --- .travis.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9334c67..fd0c00b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,14 +12,16 @@ php: matrix: include: - php: 7.1 - env: DEPENDENCIES='lowest' + env: COMPOSER_PREFER="--prefer-lowest --prefer-stable" + - php: 7.2 + env: COMPOSER_PREFER="--prefer-stable" + - php: 7.3 + env: COMPOSER_PREFER="--prefer-stable" before_script: - composer serve &> /dev/null & - cp behat.yml.dist behat.yml - - COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --no-interaction - - if [ "$DEPENDENCIES" == "lowest" ]; then composer update --prefer-lowest --prefer-stable; fi; - - if [ "$DEPENDENCIES" != "lowest" ]; then composer update --prefer-stable; fi; + - COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --no-interaction script: - composer check-static