From 015b3d0f344ec7e10873a6016a2f0d7f35479879 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Wed, 6 Dec 2017 10:58:26 -0500 Subject: [PATCH] Attempt to test PHP 7.2 --- .gitlab-ci.yml | 11 +++++++++++ composer.json | 10 +++++----- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c1f44a8f..8ffbec17 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,3 +19,14 @@ test:7.1: image: php:7.1-cli-alpine3.4 script: - phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never + +test:7.2: + stage: test + before_script: + - sh build/docker_install.sh > /dev/null + - apk add --no-cache php7-phpdbg + - curl -sS https://getcomposer.org/installer | php + - php composer.phar install --ignore-platform-reqs + image: php:7.2-cli-alpine3.4 + script: + - phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never diff --git a/composer.json b/composer.json index d4399dbf..e967e7da 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "monolog/monolog": "^1.0", "psr/http-message": "~1.0", "psr/log": "~1.0", - "yosymfony/toml": "^0.3", + "yosymfony/toml": "^1.0", "zendframework/zend-diactoros": "^1.3", "maximebf/consolekit": "^1.0", "amphp/artax": "^2.0" @@ -34,16 +34,16 @@ "pdepend/pdepend": "^2.2", "sebastian/phpcpd": "^3.0", "theseer/phpdox": "dev-master", - "phploc/phploc": "^3.0", + "phploc/phploc": "^4.0", "phpmd/phpmd": "^2.4", "phpunit/phpunit": "^6.0", - "robmorgan/phinx": "^0.8.0", + "robmorgan/phinx": "^0.9.1", "consolidation/robo": "~1.0", "henrikbjorn/lurker": "^1.1.0", "symfony/var-dumper": "^3.2", "squizlabs/php_codesniffer": "^3.0.0@beta", - "phpstan/phpstan": "^0.6.4", - "spatie/phpunit-snapshot-assertions": "^0.4.1" + "phpstan/phpstan": "^0.9.1", + "spatie/phpunit-snapshot-assertions": "^1.2.0" }, "scripts": { "build": "vendor/bin/robo build",