2017-02-15 09:26:49 -05:00
|
|
|
stages:
|
|
|
|
- test
|
2016-08-03 14:30:36 -04:00
|
|
|
|
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:21:37 -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:21:37 -05:00
|
|
|
- phpdbg -qrr -- vendor/bin/phpunit --coverage-text --colors=never
|
2017-02-15 09:30:27 -05:00
|
|
|
|
2017-02-15 09:36:51 -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
|