2016-07-15 15:50:28 -04:00
|
|
|
before_script:
|
|
|
|
# Install dependencies
|
|
|
|
- bash build/docker_install.sh > /dev/null
|
2018-01-25 11:31:27 -05:00
|
|
|
- curl -sS https://getcomposer.org/installer | php
|
|
|
|
- php composer.phar install --ignore-platform-reqs
|
2016-07-15 15:50:28 -04:00
|
|
|
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
|
|
|
|
|
2017-02-21 13:06:39 -05:00
|
|
|
test:7.1:
|
|
|
|
image: php:7.1
|
|
|
|
script:
|
2018-01-25 11:40:39 -05:00
|
|
|
- vendor/bin/phpunit -c build --no-coverage
|
2018-01-19 13:43:19 -05:00
|
|
|
|
|
|
|
test:7.2:
|
|
|
|
image: php:7.2
|
|
|
|
script:
|
2018-01-25 11:40:39 -05:00
|
|
|
- vendor/bin/phpunit -c build --no-coverage
|