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

Stretch changed MySQL naming

parent 17f0eb44
No related branches found
No related tags found
1 merge request!1Add GitLab CI
Pipeline #99 failed
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
......@@ -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
# install 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment