From 32420e4681fb7104c9f837b7b70d26236252095f Mon Sep 17 00:00:00 2001 From: Abel Hoogeveen Date: Wed, 24 Nov 2021 17:49:20 +0100 Subject: [PATCH] Updated drone to perform tests for PHP 7.4 and 8.0. --- .drone.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index a4fe468..ec6e2a6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,12 +8,23 @@ steps: commands: - composer install - - name: phpunit - image: phpunit:7.3 + - name: php74test + image: registry.i15.nl/i15/fuzephp:7.4-alpine commands: + - docker-php-ext-enable xdebug + - vendor/bin/phpunit -c test/phpunit.xml + + - name: php80test + image: registry.i15.nl/i15/fuzephp:8.0-alpine + commands: + - docker-php-ext-enable xdebug - vendor/bin/phpunit -c test/phpunit.xml - name: coverage - image: phpunit:7.3 + image: registry.i15.nl/i15/fuzephp:8.0-alpine commands: - - vendor/bin/phpunit -c test/phpunit.xml --coverage-text \ No newline at end of file + - docker-php-ext-enable xdebug + - vendor/bin/phpunit -c test/phpunit.xml --coverage-text + +image_pull_secrets: + - dockerconfig \ No newline at end of file