diff --git a/.env.testing b/.env.testing new file mode 100644 index 00000000..53a8e278 --- /dev/null +++ b/.env.testing @@ -0,0 +1,20 @@ +APP_ENV=test +APP_DEBUG=true +APP_KEY=base64:Owaz/+O4RzKLOptjD28yfP1KeTiqsPOVgOPjP8/ZWIE= +APP_URL=http://localhost +CACHE_DRIVER=array + +DB_CONNECTION=mysql +DB_HOST=mysql +DB_PORT=3306 +DB_DATABASE=default +DB_USERNAME=default +DB_PASSWORD=secret + +CACHE_DRIVER=file +SESSION_DRIVER=file +QUEUE_DRIVER=sync + +REDIS_HOST=127.0.0.1 +REDIS_PASSWORD=null +REDIS_PORT=6379 diff --git a/.gitlab-ci.sh b/.gitlab-ci.sh index 6960aac5..11ba9955 100644 --- a/.gitlab-ci.sh +++ b/.gitlab-ci.sh @@ -16,7 +16,7 @@ curl -sS https://getcomposer.org/installer | php php composer.phar install # Copy over testing configuration. -cp .env-example .env +cp .env.testing .env # Install xdebug pecl install xdebug && docker-php-ext-enable xdebug