HummingBirdAnimeClient/.gitlab-ci.yml

26 lines
754 B
YAML
Raw Normal View History

2017-02-15 09:26:49 -05:00
stages:
- test
2017-02-15 09:26:49 -05:00
2017-02-15 09:30:27 -05:00
test:7:
stage: test
before_script:
- sh build/docker_install.sh > /dev/null
2017-02-28 13:17:06 -05:00
- apk add --no-cache php7-phpdbg
2017-02-15 09:30:27 -05:00
- curl -sS https://getcomposer.org/installer | php
2017-02-15 10:05:06 -05:00
- php composer.phar install --no-dev --ignore-platform-reqs
2017-02-15 09:30:27 -05:00
image: php:7-alpine
script:
2017-02-28 13:44:41 -05:00
- phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never
2017-02-15 09:26:49 -05:00
2017-02-15 09:30:27 -05:00
test:7.1:
stage: test
before_script:
- sh build/docker_install.sh > /dev/null
2017-02-28 13:17:06 -05:00
- apk add --no-cache php7.1-phpdbg
2017-02-15 09:30:27 -05:00
- curl -sS https://getcomposer.org/installer | php
2017-02-15 10:05:06 -05:00
- php composer.phar install --no-dev --ignore-platform-reqs
2017-02-15 09:30:27 -05:00
image: php:7.1-alpine
script:
2017-02-28 13:44:41 -05:00
- phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never