Unverified Commit cf7c4abf authored by Roumen Damianoff's avatar Roumen Damianoff
Browse files

updated CI/CD testing

parent ddb7ed6c
......@@ -13,7 +13,51 @@ before_script:
# install xdebug
- pecl install xdebug
# enable xdebug
- docker-php-ext-enable xdebug
# run composer install
- php composer.phar install
image: php:7.2
before_script:
# update os
- apt-get update -yqq
# install missing packages
- apt-get install wget git zip unzip -yqq
# install composer.phar
- curl -sS https://getcomposer.org/installer | php
# install xdebug
- pecl install xdebug
# enable xdebug
- docker-php-ext-enable xdebug
# run composer install
- php composer.phar install
image: php:7.3
before_script:
# update os
- apt-get update -yqq
# install missing packages
- apt-get install wget git zip unzip -yqq
# install composer.phar
- curl -sS https://getcomposer.org/installer | php
# install xdebug
- pecl install xdebug-beta
# enable xdebug
- docker-php-ext-enable xdebug
......@@ -38,4 +82,14 @@ test:php7.2:
script:
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never
allow_failure: false
# test php 7.3
test:php7.3:
image: php:7.3
script:
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never
allow_failure: false
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment