Skip to content
Snippets Groups Projects

Adjust PHPUnit matrix based on latest failures

Merged Erick Hitter requested to merge update/phpunit-matrix into main
1 file
+ 10
2
Compare changes
  • Side-by-side
  • Inline
@@ -6,8 +6,16 @@ before_script:
- |
if [[ $(php -v) =~ "PHP 8." ]]; then
composer global require "phpunit/phpunit=9.*"
elif [[ $(php -v) =~ "PHP 7." ]]; then
composer global require "phpunit/phpunit=6.1.*"
elif [[ $(php -v) =~ "PHP 7.4" ]]; then
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
composer global require "phpunit/phpunit=5.7.*"
fi
Loading