From 3418e323ed51ad8a010cb97bdc4b6af88d42b3aa Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Thu, 24 Nov 2016 21:57:04 +0100 Subject: [PATCH 1/4] Compare current with latest version --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 65a557a..7b7d8b8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,7 +36,7 @@ install: - if [ -z "$dependencies" ]; then composer install --prefer-dist -n; fi; - if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-dist -n; fi; - if [ "$dependencies" = "highest" ]; then composer update --prefer-dist -n; fi; - - composer show + - composer show -l ## Run the actual test and benchmark script: From 6077bf71dd9bba7c04b2ce40d5a402842d617b0a Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Thu, 24 Nov 2016 22:06:22 +0100 Subject: [PATCH 2/4] Show number of cols --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 7b7d8b8..a211e77 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,6 +37,7 @@ install: - if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-dist -n; fi; - if [ "$dependencies" = "highest" ]; then composer update --prefer-dist -n; fi; - composer show -l + - tput cols ## Run the actual test and benchmark script: From 348b25fb6931a8aa4e3d55c7e38a3a9b2a77d3af Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Thu, 24 Nov 2016 22:27:05 +0100 Subject: [PATCH 3/4] Install our own composer to try different version --- .travis.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index a211e77..c5a20b8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,12 +32,15 @@ matrix: ## Install or update dependencies install: + - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" + - php -r "if (hash_file('SHA384', 'composer-setup.php') === 'aa96f26c2b67226a324c27919f1eb05f21c248b987e6195cad9690d5c1ff713d53020a02ac8c217dbf90a7eacc9d141d') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" + - php composer-setup.php --version=1.2.1 - composer validate - - if [ -z "$dependencies" ]; then composer install --prefer-dist -n; fi; - - if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-dist -n; fi; - - if [ "$dependencies" = "highest" ]; then composer update --prefer-dist -n; fi; - - composer show -l - - tput cols + - if [ -z "$dependencies" ]; then php composer.phar install --prefer-dist -n; fi; + - if [ "$dependencies" = "lowest" ]; then php composer.phar update --prefer-lowest --prefer-dist -n; fi; + - if [ "$dependencies" = "highest" ]; then php composer.phar update --prefer-dist -n; fi; + - php composer.phar show + - composer show ## Run the actual test and benchmark script: From b782b5477c5667799e7be365e8a71096e8e36de7 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Thu, 24 Nov 2016 22:28:36 +0100 Subject: [PATCH 4/4] Try 1.0.0 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c5a20b8..9f33d68 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,7 +34,7 @@ matrix: install: - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" - php -r "if (hash_file('SHA384', 'composer-setup.php') === 'aa96f26c2b67226a324c27919f1eb05f21c248b987e6195cad9690d5c1ff713d53020a02ac8c217dbf90a7eacc9d141d') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" - - php composer-setup.php --version=1.2.1 + - php composer-setup.php --version=1.0.0 - composer validate - if [ -z "$dependencies" ]; then php composer.phar install --prefer-dist -n; fi; - if [ "$dependencies" = "lowest" ]; then php composer.phar update --prefer-lowest --prefer-dist -n; fi;