2016-07-15 15:50:28 -04:00
|
|
|
before_script:
|
|
|
|
# Install dependencies
|
|
|
|
- bash build/docker_install.sh > /dev/null
|
|
|
|
|
|
|
|
services:
|
|
|
|
- mysql:latest
|
|
|
|
- postgres:latest
|
|
|
|
|
|
|
|
variables:
|
2016-07-15 16:02:09 -04:00
|
|
|
MYSQL_ROOT_PASSWORD: foo-bar-baz
|
2016-07-15 15:50:28 -04:00
|
|
|
MYSQL_DATABASE: test
|
|
|
|
MYSQL_USER: test
|
|
|
|
MYSQL_PASSWORD: test
|
|
|
|
POSTGRES_DB: test
|
|
|
|
POSTGRES_USER: test
|
|
|
|
POSTGRES_PASSWORD: test
|
|
|
|
|
|
|
|
test:7:
|
|
|
|
image: php:7
|
|
|
|
script:
|
2017-02-21 13:06:39 -05:00
|
|
|
- phpunit -c build --no-coverage
|
|
|
|
|
|
|
|
test:7.1:
|
|
|
|
image: php:7.1
|
|
|
|
script:
|
|
|
|
- phpunit -c build --no-coverage
|