From 70f27a2d5e9c2aa4e7765bfde17dcb6c45492e84 Mon Sep 17 00:00:00 2001 From: Jan Tvrdik Date: Sun, 19 Nov 2017 10:27:28 +0100 Subject: [PATCH] travis: simplify build matrix --- .travis.yml | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/.travis.yml b/.travis.yml index 66c3164..7559178 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,26 +5,12 @@ php: - 7.2 - master +env: + - dependencies=lowest + - dependencies=highest + matrix: - include: - - php: 7.0 - env: dependencies=lowest - - php: 7.0 - env: dependencies=highest - - php: 7.1 - env: dependencies=lowest - - php: 7.1 - env: dependencies=highest - - php: 7.2 - env: dependencies=lowest - - php: 7.2 - env: dependencies=highest - - php: master - env: dependencies=lowest - - php: master - env: dependencies=highest allow_failures: - - php: master - php: master env: dependencies=lowest - php: master @@ -32,9 +18,8 @@ matrix: before_script: - composer self-update - - if [ -z "$dependencies" ]; then composer install; fi; - - if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest -n; fi; - - if [ "$dependencies" = "highest" ]; then composer update -n; fi; + - if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --no-interaction; fi; + - if [ "$dependencies" = "highest" ]; then composer update --no-interaction; fi; script: - vendor/bin/phing