Updated CI config

Signed-off-by: Deon George <deon@leenooks.net>
This commit is contained in:
Deon George 2017-12-08 10:17:18 +11:00
parent 324861b826
commit d551f9e2b7
No known key found for this signature in database
GPG Key ID: 7670E8DC27415254
2 changed files with 36 additions and 2 deletions

34
.env.testing Normal file
View File

@ -0,0 +1,34 @@
APP_NAME=Laravel
APP_ENV=test
APP_KEY=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=testing
DB_USERNAME=root
DB_PASSWORD=secret
BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_LIFETIME=120
QUEUE_DRIVER=sync
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=

View File

@ -10,8 +10,8 @@ services:
- mariadb:10.3
variables:
MYSQL_DATABASE: project_name
MYSQL_ROOT_PASSWORD: secret
MYSQL_DATABASE: testing
MYSQL_ROOT_PASSWORD: test
# This folder is cached between builds
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache