diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cbf15b7..9a379fc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,6 @@ # This file is a template, and might need editing before it works on your project. # Select image from https://hub.docker.com/_/php/ -image: php:7.1.1 +image: php:7.1.1 # Select what we should cache between builds cache: @@ -28,8 +28,10 @@ services: # Set any variables we need variables: # Configure mysql environment variables (https://hub.docker.com/r/_/mysql/) - MYSQL_DATABASE: ci - MYSQL_ROOT_PASSWORD: ci_password + MYSQL_DATABASE: ci + MYSQL_RANDOM_ROOT_PASSWORD: yes + MYSQL_USER: ci + MYSQL_PASSWORD: ci_password # Run our tests # If Xdebug was installed you can generate a coverage report and see code coverage metrics.