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
|
|
|
|
- php composer.phar install
|
|
|
|
|
|
|
|
# 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.5:
|
|
|
|
image: php:5.5
|
|
|
|
script:
|
|
|
|
- phpunit -c build
|
|
|
|
|
|
|
|
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
|