HummingBirdAnimeClient/.gitlab-ci.yml

38 lines
1.2 KiB
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-15 10:23:07 -05:00
- phpunit -c build --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-15 10:23:07 -05:00
- phpunit -c build --coverage-text --colors=never
2017-02-15 09:30:27 -05:00
#test:hhvm:
# stage: test
# allow_failure: true
# before_script:
# - /usr/local/bin/composer self-update
# - curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
# - chmod +x /usr/local/bin/phpunit
# - composer install --no-dev --ignore-platform-reqs
# #image: 51systems/docker-gitlab-ci-runner-hhvm
# image: 2ndkauboy/gitlab-ci-runner-hhvm
# script:
# - hhvm -d hhvm.php7.all=true /usr/local/bin/phpunit -c build --coverage-text --colors=never