Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WP Plugins
Cron-Control
Commits
16d91fbc
Commit
16d91fbc
authored
Jul 15, 2017
by
Erick Hitter
Browse files
Update GitLab CI config from base template
parent
6872a1a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
16d91fbc
...
...
@@ -12,9 +12,8 @@ before_script:
-
apt-get install -yqq git libmcrypt-dev libpq-dev libcurl4-gnutls-dev libicu-dev libvpx-dev libjpeg-dev libpng-dev libxpm-dev zlib1g-dev libfreetype6-dev libxml2-dev libexpat1-dev libbz2-dev libgmp3-dev libldap2-dev unixodbc-dev libsqlite3-dev libaspell-dev libsnmp-dev libpcre3-dev libtidy-dev
# Install PHP extensions
-
docker-php-ext-install mbstring mcrypt pdo_pgsql curl json intl gd xml zip bz2 opcache
# Install
and run
Composer
# Install Composer
-
curl -sS https://getcomposer.org/installer | php
-
php composer.phar install
# Prepare to run WP tests
-
bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
...
...
@@ -27,7 +26,7 @@ services:
variables
:
# Configure mysql environment variables (https://hub.docker.com/r/_/mysql/)
MYSQL_DATABASE
:
root
MYSQL_
ROOT
_PASSWORD
:
'
'
MYSQL_
ALLOW_EMPTY
_PASSWORD
:
"
yes"
# Run our tests
# If Xdebug was installed you can generate a coverage report and see code coverage metrics.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment