From 89816dc06203e4bb6190ed12508cc02e1bf28bdd Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Tue, 12 Sep 2017 12:38:26 -0400 Subject: [PATCH] Test with php 7.2 --- .gitlab-ci.yml | 11 +++++++++++ .travis.yml | 1 + 2 files changed, 12 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a9198580..400bed3f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,3 +19,14 @@ test:7.1: image: php:7.1-alpine 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-alpine + script: + - phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never diff --git a/.travis.yml b/.travis.yml index 780abbcb..6518bd64 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ install: php: - 7 - 7.1 + - 7.2 - hhvm - nightly