diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e50049500107f7aecca50431944205839a93de87..310e2a76b62dcca97876a93b866b8ca9ddb7af22 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,12 +23,17 @@ variables: test:unit: stage: test - image: composer:1 + image: php:7.4 variables: GIT_STRATEGY: "clone" - GIT_SUBMODULE_STRATEGY: "recursive" before_script: - - apk add git --update + - set -xe + - apt-get update -yqq + - apt-get install git unzip zlib1g-dev libzip-dev -yqq + - docker-php-ext-install zip + - pecl install xdebug + - docker-php-ext-enable xdebug + - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer - export TYPO3_PATH_WEB="$PWD/private" - composer config cache-dir /cache/composer - mkdir $TYPO3_PATH_WEB/fileadmin/ && touch $TYPO3_PATH_WEB/fileadmin/currentcoredata.json diff --git a/.gitlab-ci/Tests/UnitTests.xml b/.gitlab-ci/Tests/UnitTests.xml index 4e40865c4a02cfa70394cff07937770ed4bc3e20..2d3de0d5468c84b28b8778007fae8ba7201ec43e 100644 --- a/.gitlab-ci/Tests/UnitTests.xml +++ b/.gitlab-ci/Tests/UnitTests.xml @@ -2,7 +2,7 @@ backupGlobals="true" backupStaticAttributes="false" bootstrap="../../vendor/nimut/testing-framework/res/Configuration/UnitTestsBootstrap.php" - colors="true" + colors="false" convertErrorsToExceptions="true" convertWarningsToExceptions="true" forceCoversAnnotation="false" @@ -23,4 +23,8 @@ ../../extensions/ter_fe2/Classes/ + + + +