Some things like below @esposito
version: 2
jobs:
build:
docker:
- image: php:7.0-apache
environment:
APP_ENV: testing
APP_DEBUG: true
APP_KEY: base64:H2lnWgQiH23t04sHcwDZ8VbLqQCD5J8hpVMdylqDkp0=
DB_CONNECTION: mysql
DB_HOST: 127.0.0.1
DB_PORT: 3306
DB_DATABASE: pet
DB_USERNAME: root
DB_PASSWORD: password
DB2_HOST: 127.0.0.1
DB2_PORT: 3307
DB2_DATABASE: platform
DB2_USERNAME: root
DB2_PASSWORD: password
DB3_HOST: 127.0.0.1
DB3_PORT: 3308
DB3_DATABASE: event
DB3_USERNAME: root
DB3_PASSWORD: password
CACHE_DRIVER: file
QUEUE_DRIVER: sync
- image: circleci/mysql:5.7
environment:
MYSQL_DATABASE: pet
MYSQL_ROOT_PASSWORD: password
- image: hadv/mysql:5.7
environment:
MYSQL_DATABASE: platform
MYSQL_ROOT_PASSWORD: password
- image: hadv/mysql3308:5.7
environment:
MYSQL_DATABASE: event
MYSQL_ROOT_PASSWORD: password
working_directory: /var/www/html
Hope this help!