Update .gitlab-ci.yml

This commit is contained in:
Romain Delanoë
2020-08-06 12:38:51 +00:00
parent 5693e752c7
commit 9bd71b8b56

View File

@@ -10,9 +10,10 @@ services:
- mariadb:latest - mariadb:latest
variables: variables:
MYSQL_DATABASE: portal MYSQL_DATABASE: "portal"
MYSQL_USER: root MYSQL_USER: "root"
MYSQL_ROOT_PASSWORD: secret MYSQL_PASSWORD: "app"
MYSQL_ROOT_PASSWORD: "secret"
# This folder is cached between builds # This folder is cached between builds
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache # http://docs.gitlab.com/ce/ci/yaml/README.html#cache
@@ -35,7 +36,7 @@ before_script:
#- apt-get install php-mbstring php-curl php-json php-intl php-gd php-xml php-zip php-bz2 -yqq #- apt-get install php-mbstring php-curl php-json php-intl php-gd php-xml php-zip php-bz2 -yqq
- apt-get install mariadb-server -yqq - apt-get install mariadb-server -yqq
# Install php extensions # Install php extensions
- docker-php-ext-install pdo pdo_mysql tokenizer xml pcntl curl json php-mysql - docker-php-ext-install pdo pdo_mysql tokenizer xml pcntl curl json
# - docker-php-ext-install mbstring intl gd xml bz2 opcache pdo_mysql curl json zip # - docker-php-ext-install mbstring intl gd xml bz2 opcache pdo_mysql curl json zip
# Install & enable Xdebug for code coverage reports # Install & enable Xdebug for code coverage reports
- pecl install xdebug - pecl install xdebug