From 2581977bd939adf3b7fa0019a49eb81a8106a02a Mon Sep 17 00:00:00 2001 From: Jack Goh Date: Wed, 1 Aug 2018 16:55:14 +0800 Subject: [PATCH] added mysql to phpunit removed unused installation --- .gitlab-ci.sh | 4 ++-- .gitlab-ci.yml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.sh b/.gitlab-ci.sh index 52840f9d..6f1bb0a7 100644 --- a/.gitlab-ci.sh +++ b/.gitlab-ci.sh @@ -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 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8e165297..62ab298b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: