diff --git a/Jenkinsfile b/Jenkinsfile index 11e48b16..b8c39d95 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,17 +23,7 @@ pipeline { } } steps { - sh 'php ./vendor/bin/phpunit --colors=never' - } - } - stage('PHP 7.4') { - agent { - docker { - image 'php:7.4-alpine' - args '-u root --privileged' - } - } - steps { + sh 'apk update' sh 'apk add --no-cache git php7-phpdbg' sh 'phpdbg -dmemory_limit=2g -qrr -- ./vendor/bin/phpunit --coverage-text --coverage-clover clover.xml --colors=never' @@ -44,5 +34,16 @@ pipeline { ]) } } + stage('PHP 7.4') { + agent { + docker { + image 'php:7.4-alpine' + args '-u root --privileged' + } + } + steps { + sh 'php ./vendor/bin/phpunit --colors=never' + } + } } } \ No newline at end of file