Updated CI config
Signed-off-by: Deon George <deon@leenooks.net>
This commit is contained in:
parent
324861b826
commit
d551f9e2b7
34
.env.testing
Normal file
34
.env.testing
Normal 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=
|
@ -10,8 +10,8 @@ services:
|
|||||||
- mariadb:10.3
|
- mariadb:10.3
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
MYSQL_DATABASE: project_name
|
MYSQL_DATABASE: testing
|
||||||
MYSQL_ROOT_PASSWORD: secret
|
MYSQL_ROOT_PASSWORD: test
|
||||||
|
|
||||||
# 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
|
||||||
|
Reference in New Issue
Block a user