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
Commits
f94a1a62
Commit
f94a1a62
authored
6 years ago
by
Erick Hitter
Browse files
Options
Downloads
Patches
Plain Diff
Stretch changed MySQL naming
parent
17f0eb44
Branches
Branches containing commit
No related tags found
1 merge request
!1
Add GitLab CI
Pipeline
#99
failed
6 years ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+8
-9
8 additions, 9 deletions
.gitlab-ci.yml
with
8 additions
and
9 deletions
.gitlab-ci.yml
+
8
−
9
View file @
f94a1a62
...
...
@@ -10,21 +10,23 @@ before_script:
-
apt-get clean
-
apt-get -yqq update
# instll the required packages for the running CI tests
-
apt-get -yqqf install zip unzip subversion mysql-client libmysqlclient-dev --fix-missing
# inst
a
ll the required packages for the running CI tests
-
apt-get -yqqf install zip unzip subversion mysql-client
default-
libmysqlclient-dev --fix-missing
# PHP extensions
-
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
-
bash bin/install-wp-tests.sh wordpress_tests root mysql mysql latest
true
# PHPUnit for most builds
-
php composer.phar global require "phpunit/phpunit=6.1.*"
# Install PHPCS and WPCS
-
composer global require automattic/vipwpcs
-
php
composer
.phar
global require automattic/vipwpcs
-
phpcs --config-set installed_paths $HOME/.composer/vendor/wp-coding-standards/wpcs,$HOME/.composer/vendor/automattic/vipwpcs
PHPunit:PHP5.3:MySQL
:
...
...
@@ -32,7 +34,7 @@ PHPunit:PHP5.3:MySQL:
services
:
-
mysql:5.6
script
:
-
composer global require "phpunit/phpunit=4.8.*"
-
php
composer
.phar
global require "phpunit/phpunit=4.8.*"
-
phpcs
-
phpunit
...
...
@@ -41,7 +43,7 @@ PHPunit:PHP5.6:MySQL:
services
:
-
mysql:5.6
script
:
-
composer global require "phpunit/phpunit=4.8.*"
-
php
composer
.phar
global require "phpunit/phpunit=4.8.*"
-
phpcs
-
phpunit
...
...
@@ -50,7 +52,6 @@ PHPunit:PHP7.0:MySQL:
services
:
-
mysql:5.6
script
:
-
composer global require "phpunit/phpunit=6.1.*"
-
phpcs
-
phpunit
...
...
@@ -59,7 +60,6 @@ PHPunit:PHP7.1:MySQL:
services
:
-
mysql:5.6
script
:
-
composer global require "phpunit/phpunit=6.1.*"
-
phpcs
-
phpunit
...
...
@@ -68,6 +68,5 @@ PHPunit:PHP7.2:MySQL:
services
:
-
mysql:5.6
script
:
-
composer global require "phpunit/phpunit=6.1.*"
-
phpcs
-
phpunit
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