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

Add PHP 7.4 and 8.0

parent 0cc2d176
Branches
No related tags found
1 merge request!11Add PHP 7.4 and 8.0
......@@ -4,7 +4,9 @@ before_script:
# PHPUnit
- |
if [[ $(php -v) =~ "PHP 7." ]]; then
if [[ $(php -v) =~ "PHP 8." ]]; then
composer global require "phpunit/phpunit=7.*"
el if [[ $(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.*"
......
......@@ -54,6 +54,24 @@ PHPunit:PHP7.3:MySQL:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpunit
PHPunit:PHP7.4:MySQL:
stage: test
image: containers.ethitter.com:443/docker/images/php:7.4
services:
- mysql:5.6
script:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpunit
PHPunit:PHP8.0:MySQL:
stage: test
image: containers.ethitter.com:443/docker/images/php:8.0
services:
- mysql:5.6
script:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpunit
PHPCS:
stage: test
image: containers.ethitter.com:443/docker/images/php:7.3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment