Skip to content
Snippets Groups Projects
Commit 12c23822 authored by Erick Hitter's avatar Erick Hitter
Browse files

Merge branch 'update/phpunit-matrix' into 'main'

Adjust PHPUnit matrix based on latest failures

See merge request !29
parents 80b19a6e 59f25237
No related branches found
No related tags found
1 merge request!29Adjust PHPUnit matrix based on latest failures
...@@ -6,8 +6,16 @@ before_script: ...@@ -6,8 +6,16 @@ before_script:
- | - |
if [[ $(php -v) =~ "PHP 8." ]]; then if [[ $(php -v) =~ "PHP 8." ]]; then
composer global require "phpunit/phpunit=9.*" composer global require "phpunit/phpunit=9.*"
elif [[ $(php -v) =~ "PHP 7." ]]; then elif [[ $(php -v) =~ "PHP 7.4" ]]; then
composer global require "phpunit/phpunit=6.1.*" composer global require "phpunit/phpunit=7.5.*"
elif [[ $(php -v) =~ "PHP 7.3" ]]; then
composer global require "phpunit/phpunit=7.5.*"
elif [[ $(php -v) =~ "PHP 7.2" ]]; then
composer global require "phpunit/phpunit=7.5.*"
elif [[ $(php -v) =~ "PHP 7.1" ]]; then
composer global require "phpunit/phpunit=7.5.*"
elif [[ $(php -v) =~ "PHP 7.0" ]]; then
composer global require "phpunit/phpunit=6.4.*"
elif [[ $(php -v) =~ "PHP 5.6" ]]; then elif [[ $(php -v) =~ "PHP 5.6" ]]; then
composer global require "phpunit/phpunit=5.7.*" composer global require "phpunit/phpunit=5.7.*"
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment