diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5f4d607c..3f67361a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,10 +8,8 @@ before_script: - apt-get install -yqq #install php depandancies -- docker-php-ext-install mysqli mbstring pdo pdo_mysql curl json intl gd xml zip bz2 opcache pcntl tidy +- docker-php-ext-install mbstring xml -# Enable php extensions -- docker-php-ext-enable pdo_mysql tidy # Install composer package manager - curl --location --output /usr/local/bin/composer https://getcomposer.org/download/latest-stable/composer.phar - chmod +x /usr/local/bin/composer @@ -19,12 +17,8 @@ before_script: #jobs build_job: stage: build - image: php:7.4 script: - - apt-get update && apt-get install -y unzip - - apt-get install -y php-xml - - curl -sS https://getcomposer.org/installer | php - - composer.phar install --ignore-platform-reqs + - composer install --ignore-platform-reqs rules: - if: '$CI_COMMIT_BRANCH =~ /.*/'