|
@@ -28,6 +28,10 @@ unit:
|
|
|
image: $CI_REGISTRY_IMAGE:latest
|
|
image: $CI_REGISTRY_IMAGE:latest
|
|
|
stage: test
|
|
stage: test
|
|
|
|
|
|
|
|
|
|
+ before_script:
|
|
|
|
|
+ - composer config -g cache-dir .composer-cache
|
|
|
|
|
+ - composer install --prefer-dist --no-progress --no-interaction
|
|
|
|
|
+
|
|
|
script:
|
|
script:
|
|
|
- php vendor/phpunit/phpunit/phpunit --configuration phpunit.xml.dist --colors=never --no-interaction --testsuite=unit
|
|
- php vendor/phpunit/phpunit/phpunit --configuration phpunit.xml.dist --colors=never --no-interaction --testsuite=unit
|
|
|
#- php vendor/phpunit/phpunit/phpunit --configuration phpunit.xml.dist --colors=never --no-interaction --no-coverage --testsuite=application
|
|
#- php vendor/phpunit/phpunit/phpunit --configuration phpunit.xml.dist --colors=never --no-interaction --no-coverage --testsuite=application
|