From cdb228a676bb1802365e4bf2c1f721f985178e17 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Fri, 9 Feb 2018 13:40:29 +0100 Subject: [PATCH 1/5] fix travis ci runner --- .travis.yml | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index f95a4b4..581f769 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,24 @@ language: php -php: - - 5.3 - - 5.4 - - 5.5 - - 5.6 + +matrix: + include: + - php: 5.3 + dist: precise + - php: 5.4 + dist: trusty + sudo: required + - php: 5.5 + dist: trusty + sudo: required + - php: 5.6 + dist: trusty + sudo: required + - php: 7.0 + dist: trusty + sudo: required + - php: 7.1 + dist: trusty + sudo: required before_script: - ./scripts/bundle-devtools.sh . From d657e2b6ee64715d7a1edb11deee683d5cfb925d Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Fri, 9 Feb 2018 16:16:20 +0100 Subject: [PATCH 2/5] fix dev requirements for tests --- composer.json | 6 +++--- scripts/bundle-devtools.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 5831efd..b6b836a 100644 --- a/composer.json +++ b/composer.json @@ -24,9 +24,9 @@ }, "require-dev": { "phpunit/phpunit": "3.7.*", - "mockery/mockery": ">=0.7.2", - "suin/php-expose": ">=1.0", - "mikey179/vfsStream": ">=1.1.0" + "mockery/mockery": "^0.7.2", + "suin/php-expose": "^1.0", + "mikey179/vfsStream": "^1.1" }, "autoload": { "psr-0": { diff --git a/scripts/bundle-devtools.sh b/scripts/bundle-devtools.sh index 030f5e4..79e86d9 100755 --- a/scripts/bundle-devtools.sh +++ b/scripts/bundle-devtools.sh @@ -33,4 +33,4 @@ wget http://getcomposer.org/composer.phar chmod +x composer.phar -./composer.phar install --dev +./composer.phar install From 1da2c50f9735c2317c669ba3770129d29b5cbeba Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Fri, 9 Feb 2018 16:17:02 +0100 Subject: [PATCH 3/5] add php 7.2 to travis tests --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 581f769..91c0e67 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,9 @@ matrix: - php: 7.1 dist: trusty sudo: required + - php: 7.2 + dist: trusty + sudo: required before_script: - ./scripts/bundle-devtools.sh . From a9780f068b05a385133e8c597f74edd5b564d1fe Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Fri, 9 Feb 2018 16:40:24 +0100 Subject: [PATCH 4/5] allow 7.2 to fail --- .travis.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 91c0e67..add998c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,22 +6,20 @@ matrix: dist: precise - php: 5.4 dist: trusty - sudo: required - php: 5.5 dist: trusty - sudo: required - php: 5.6 dist: trusty - sudo: required - php: 7.0 dist: trusty - sudo: required - php: 7.1 dist: trusty - sudo: required - php: 7.2 dist: trusty - sudo: required +# allow 7.2 to fail as phpunit 3 not working correctly with php 7.2 + allow_failures: + - php: 7.2 + dist: trusty before_script: - ./scripts/bundle-devtools.sh . From ea64bd8d4ac456a74b9f445c7976bf36f612bb3f Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Fri, 9 Feb 2018 17:11:59 +0100 Subject: [PATCH 5/5] add comment why php7.2 is not tested --- .travis.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index add998c..d764e88 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,12 +14,10 @@ matrix: dist: trusty - php: 7.1 dist: trusty - - php: 7.2 - dist: trusty -# allow 7.2 to fail as phpunit 3 not working correctly with php 7.2 - allow_failures: - - php: 7.2 - dist: trusty +# PHP 7.2 can currently not been tested because of incompatibility with PHPUnit 3 +# atleast PHPUnit 7.0 would be needed which don't support 5.3 +# - php: 7.2 +# dist: trusty before_script: - ./scripts/bundle-devtools.sh .