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

Merge branch 'remove/php-5-3' into 'main'

Drop PHP 5.3, WP no longer supports it

See merge request !14
parents abdb278e 669af155
Branches
No related tags found
1 merge request!14Drop PHP 5.3, WP no longer supports it
......@@ -9,9 +9,7 @@ before_script:
elif [[ $(php -v) =~ "PHP 7." ]]; then
composer global require "phpunit/phpunit=6.1.*"
elif [[ $(php -v) =~ "PHP 5.6" ]]; then
composer global require "phpunit/phpunit=5.4.*"
else
composer global require "phpunit/phpunit=4.8.*"
composer global require "phpunit/phpunit=5.7.*"
fi
# PHPUnit requirements
......
PHPunit:PHP5.3:MySQL:
stage: test
variables:
WP_VERSION: '5.1'
image: containers.ethitter.com:443/docker/images/php:5.3
services:
- mysql:5.6
script:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpunit
PHPunit:PHP5.6:MySQL:
stage: test
image: containers.ethitter.com:443/docker/images/php:5.6
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment