From 08fc1c81bf2d16f4e20fd9249e26327e21abb91c Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Fri, 6 Dec 2019 09:19:47 -0500 Subject: [PATCH] Remove composer.lock for each test run to make sure dependencies are correctly installed --- Jenkinsfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 659e497b..132d26e7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,6 +11,7 @@ pipeline { steps { sh 'apk add --no-cache php7-phpdbg' sh 'curl -sS https://getcomposer.org/installer | php' + sh 'rm -f composer.lock' sh 'php composer.phar install --ignore-platform-reqs' sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never' } @@ -25,6 +26,7 @@ pipeline { steps { sh 'apk add --no-cache php7-phpdbg' sh 'curl -sS https://getcomposer.org/installer | php' + sh 'rm -f composer.lock' sh 'php composer.phar install --ignore-platform-reqs' sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never' } @@ -39,6 +41,7 @@ pipeline { steps { sh 'apk add --no-cache php7-phpdbg' sh 'curl -sS https://getcomposer.org/installer | php' + sh 'rm -f composer.lock' sh 'php composer.phar install --ignore-platform-reqs' sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never' }