2017-01-17 11:28:13 -05:00
|
|
|
services:
|
2017-01-17 11:31:00 -05:00
|
|
|
- memcached:latest
|
2017-01-17 11:28:13 -05:00
|
|
|
- redis:latest
|
|
|
|
|
|
|
|
test:7:
|
|
|
|
before_script:
|
2017-03-01 09:12:02 -05:00
|
|
|
- sh build/docker_install.sh > /dev/null
|
2017-03-01 11:02:46 -05:00
|
|
|
#- apk add --no-cache php7-apcu php7-memcached php7-phpdbg
|
|
|
|
#- echo '\nextension=apcu.so\nextension=memcached.so' >> /etc/php7/php.ini
|
2017-03-01 10:13:09 -05:00
|
|
|
- curl -sS https://getcomposer.org/installer | php
|
2017-03-01 09:12:02 -05:00
|
|
|
- php composer.phar install --ignore-platform-reqs
|
2017-03-01 11:02:46 -05:00
|
|
|
#image: php:7-alpine
|
|
|
|
image: php:7
|
2017-01-17 11:28:13 -05:00
|
|
|
script:
|
2017-03-01 09:12:02 -05:00
|
|
|
- phpdbg -qrr -- ./vendor/bin/phpunit -c build
|
2017-01-17 11:28:13 -05:00
|
|
|
|
|
|
|
test:7.1:
|
|
|
|
before_script:
|
2017-03-01 09:12:02 -05:00
|
|
|
- sh build/docker_install.sh > /dev/null
|
2017-03-01 11:02:46 -05:00
|
|
|
#- apk add --no-cache php7.1-apcu php7.1-memcached php7.1-phpdbg
|
|
|
|
#- echo '\nextension=apcu.so\nextension=memcached.so' >> /etc/php7.1/php.ini
|
2017-03-01 10:13:09 -05:00
|
|
|
- curl -sS https://getcomposer.org/installer | php
|
2017-03-01 09:12:02 -05:00
|
|
|
- php composer.phar install --ignore-platform-reqs
|
2017-03-01 11:02:46 -05:00
|
|
|
#image: php:7.1-alpine
|
|
|
|
image: php:7.1
|
2017-01-17 11:28:13 -05:00
|
|
|
script:
|
2017-03-01 09:12:02 -05:00
|
|
|
- phpdbg -qrr -- ./vendor/bin/phpunit -c build
|