From aca2a9b62df1ba8d51c01f7e53e7faabb6ddf1c3 Mon Sep 17 00:00:00 2001 From: Hari K T Date: Sat, 20 Jan 2018 01:38:50 +0530 Subject: [PATCH 1/2] Test --- .travis.yml | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/.travis.yml b/.travis.yml index c920e8e..5e8ed64 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,29 +8,6 @@ cache: ## Build matrix for lowest and highest possible targets matrix: include: - - php: 7.0 - env: - - qaExtended=true - - php: 7.1 - - php: nightly - env: - - dropPlatform=false - - php: 7.0 - env: - - dependencies=lowest - - php: 7.1 - env: - - dependencies=lowest - - php: nightly - env: - - dependencies=lowest - - dropPlatform=false - - php: 7.0 - env: - - dependencies=highest - - php: 7.1 - env: - - dependencies=highest - php: nightly env: - dependencies=highest @@ -39,12 +16,7 @@ matrix: ## Install or update dependencies install: - composer validate - - if [ -z "$dropPlatform" ]; then composer config --unset platform.php; fi; - - if [ -z "$dropPlatform" ]; then composer update --lock; fi; - - if [ -z "$qaExtended" ]; then phpenv config-rm xdebug.ini || :; fi; - - if [ -z "$dependencies" ]; then composer install --prefer-dist; fi; - - if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-dist -n; fi; - - if [ "$dependencies" = "highest" ]; then composer update --prefer-dist -n; fi; + - if [ "$dependencies" = "highest" ]; then composer why-not phpunit/phpunit; fi; - composer show ## Run the actual test From 5669a70e929634d4a7bcde2c9704774051fa9a96 Mon Sep 17 00:00:00 2001 From: Hari K T Date: Sat, 20 Jan 2018 01:45:40 +0530 Subject: [PATCH 2/2] try installing --- .travis.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5e8ed64..14e1e16 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,28 +1,19 @@ +sudo: false language: php -## Cache composer bits -cache: - directories: - - $HOME/.composer/cache/files - ## Build matrix for lowest and highest possible targets matrix: include: - php: nightly - env: - - dependencies=highest - - dropPlatform=false ## Install or update dependencies install: - composer validate - - if [ "$dependencies" = "highest" ]; then composer why-not phpunit/phpunit; fi; + - composer install + - composer why-not phpunit/phpunit - composer show ## Run the actual test script: - if [ -z "$qaExtended" ]; then make ci; fi; - if [ "$qaExtended" = "true" ]; then make ci-extended; fi; - -## Gather coverage and set it to coverage servers -after_script: if [ "$qaExtended" = "true" ]; then make ci-coverage; fi;