Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Camo Image Proxy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
WP Plugins
Camo Image Proxy
Merge requests
!1
Add GitLab CI
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add GitLab CI
add/gitlab-ci
into
master
Overview
1
Commits
20
Pipelines
20
Changes
1
Merged
Erick Hitter
requested to merge
add/gitlab-ci
into
master
6 years ago
Overview
1
Commits
20
Pipelines
20
Changes
1
Expand
Different set of boxes, there isn't a 7.2 in the current series and doesn't seem like that'll changes
Correct PHPUnit version for PHP version, as Travis handles
Fixes
#2 (closed)
Edited
6 years ago
by
Erick Hitter
0
0
Merge request reports
Viewing commit
5dbb6b2a
Prev
Next
Show latest version
1 file
+
23
−
14
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
5dbb6b2a
Switch images to provide 7.2 support, fix PHPUnit version
· 5dbb6b2a
Erick Hitter
authored
6 years ago
.gitlab-ci.yml
+
23
−
14
Options
@@ -16,6 +16,10 @@ before_script:
@@ -16,6 +16,10 @@ before_script:
# PHP extensions
# PHP extensions
-
docker-php-ext-enable mbstring mcrypt mysqli pdo_mysql intl gd zip bz2
-
docker-php-ext-enable mbstring mcrypt mysqli pdo_mysql intl gd zip bz2
# Install Composer
-
curl -sS https://getcomposer.org/installer | php
-
php composer.phar install
# Set up WordPress tests
# Set up WordPress tests
-
bash bin/install-wp-tests.sh wordpress_tests root mysql mysql latest
true
-
bash bin/install-wp-tests.sh wordpress_tests root mysql mysql latest
true
@@ -28,37 +32,42 @@ PHPunit:PHP5.3:MySQL:
@@ -28,37 +32,42 @@ PHPunit:PHP5.3:MySQL:
services
:
services
:
-
mysql:5.6
-
mysql:5.6
script
:
script
:
-
phpcs
-
composer global require "phpunit/phpunit=4.8.*"
-
phpunit
-
phpcs
-
phpunit
PHPunit:PHP5.6:MySQL
:
PHPunit:PHP5.6:MySQL
:
image
:
tetraweb/
php:5.6
image
:
php:5.6
-alpine
services
:
services
:
-
mysql:5.6
-
mysql:5.6
script
:
script
:
-
phpcs
-
composer global require "phpunit/phpunit=4.8.*"
-
phpunit
-
phpcs
-
phpunit
PHPunit:PHP7.0:MySQL
:
PHPunit:PHP7.0:MySQL
:
image
:
tetraweb/
php:7.0
image
:
php:7.0
-alpine
services
:
services
:
-
mysql:5.6
-
mysql:5.6
script
:
script
:
-
phpcs
-
composer global require "phpunit/phpunit=6.1.*"
-
phpunit
-
phpcs
-
phpunit
PHPunit:PHP7.1:MySQL
:
PHPunit:PHP7.1:MySQL
:
image
:
tetraweb/
php:7.1
image
:
php:7.1
-alpine
services
:
services
:
-
mysql:5.6
-
mysql:5.6
script
:
script
:
-
phpcs
-
composer global require "phpunit/phpunit=6.1.*"
-
phpunit
-
phpcs
-
phpunit
PHPunit:PHP7.2:MySQL
:
PHPunit:PHP7.2:MySQL
:
image
:
tetraweb/
php:7.2
image
:
php:7.2
-alpine
services
:
services
:
-
mysql:5.6
-
mysql:5.6
script
:
script
:
-
phpcs
-
composer global require "phpunit/phpunit=6.1.*"
-
phpunit
-
phpcs
-
phpunit
Loading