Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wordpress
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitLab
CI
wordpress
Commits
93b1e915
Commit
93b1e915
authored
4 years ago
by
Erick Hitter
Browse files
Options
Downloads
Patches
Plain Diff
Add PHP 7.4 and 8.0
parent
0cc2d176
Branches
Branches containing commit
No related tags found
1 merge request
!11
Add PHP 7.4 and 8.0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
plugins/templates/before-script.yml
+3
-1
3 additions, 1 deletion
plugins/templates/before-script.yml
plugins/templates/matrix.yml
+18
-0
18 additions, 0 deletions
plugins/templates/matrix.yml
with
21 additions
and
1 deletion
plugins/templates/before-script.yml
+
3
−
1
View file @
93b1e915
...
...
@@ -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.*"
...
...
This diff is collapsed.
Click to expand it.
plugins/templates/matrix.yml
+
18
−
0
View file @
93b1e915
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment