added mysql to phpunit

removed unused installation
This commit is contained in:
Jack Goh
2018-08-01 16:55:14 +08:00
parent beb0cb8cd4
commit 2581977bd9
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -13,13 +13,13 @@ docker-php-ext-install mbstring pdo_mysql curl json intl gd xml zip bz2 opcache
# Install Composer and project dependencies.
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
composer update
#composer update
# Copy over testing configuration.
cp .env.testing .env
# Install xdebug
pecl install xdebug && docker-php-ext-enable xdebug
#pecl install xdebug && docker-php-ext-enable xdebug
# Generate an application key. Re-cache.
php artisan key:generate
+2 -1
View File
@@ -10,7 +10,8 @@ variables:
MYSQL_USER: default
MYSQL_PASSWORD: secret
MYSQL_ROOT_PASSWORD: root
unitTesting:
phpunit:php5.6:mysql5.7:
stage: testing
image: php:7.2.6
services: