banker/.gitlab-ci.yml

31 lines
885 B
YAML
Raw Normal View History

2017-01-17 11:28:13 -05: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:
- 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 10:17:04 -05:00
- apk add --no-cache php7-phpdbg
- curl -sS https://getcomposer.org/installer | php
2017-03-01 09:12:02 -05:00
- php composer.phar install --ignore-platform-reqs
image: php:7-alpine
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 10:17:04 -05:00
- apk add --no-cache php7.1-phpdbg
- curl -sS https://getcomposer.org/installer | php
2017-03-01 09:12:02 -05:00
- php composer.phar install --ignore-platform-reqs
image: php:7.1-alpine
2017-01-17 11:28:13 -05:00
script:
2017-03-01 09:12:02 -05:00
- phpdbg -qrr -- ./vendor/bin/phpunit -c build