2016-07-18 09:58:23 -04:00
|
|
|
before_script:
|
|
|
|
# Install dependencies
|
|
|
|
- bash build/docker_install.sh > /dev/null
|
|
|
|
# Install composer dependencies
|
|
|
|
- curl -sS https://getcomposer.org/installer | php
|
2016-08-03 14:14:38 -04:00
|
|
|
- php composer.phar install --no-dev
|
2016-07-18 09:58:23 -04:00
|
|
|
|
|
|
|
# Composer stores all downloaded packages in the vendor/ directory.
|
|
|
|
# Do not use the following if the vendor/ directory is commited to
|
|
|
|
# your git repository.
|
|
|
|
cache:
|
|
|
|
paths:
|
|
|
|
- vendor/
|
|
|
|
|
|
|
|
services:
|
|
|
|
- redis:latest
|
|
|
|
|
|
|
|
test:5.6:
|
|
|
|
image: php:5.6
|
|
|
|
script:
|
|
|
|
- phpunit -c build
|
|
|
|
|
|
|
|
test:7:
|
|
|
|
image: php:7
|
|
|
|
script:
|
2016-07-18 09:47:34 -04:00
|
|
|
- phpunit -c build
|