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

Drop PHP 5.3, WP no longer supports it

parent ff97c97a
No related branches found
No related tags found
1 merge request!14Drop PHP 5.3, WP no longer supports it
...@@ -9,9 +9,7 @@ before_script: ...@@ -9,9 +9,7 @@ before_script:
elif [[ $(php -v) =~ "PHP 7." ]]; then elif [[ $(php -v) =~ "PHP 7." ]]; then
composer global require "phpunit/phpunit=6.1.*" composer global require "phpunit/phpunit=6.1.*"
elif [[ $(php -v) =~ "PHP 5.6" ]]; then elif [[ $(php -v) =~ "PHP 5.6" ]]; then
composer global require "phpunit/phpunit=5.4.*" composer global require "phpunit/phpunit=5.7.*"
else
composer global require "phpunit/phpunit=4.8.*"
fi fi
# PHPUnit requirements # 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: PHPunit:PHP5.6:MySQL:
stage: test stage: test
image: containers.ethitter.com:443/docker/images/php:5.6 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