From 801ccc480e708abd85c8f5036b350815ba29b786 Mon Sep 17 00:00:00 2001 From: rsgrinko Date: Wed, 22 Mar 2023 14:38:10 +0300 Subject: [PATCH] [*] test .gitlab-ci.yml --- .gitlab-ci.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b544ebb..538666e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: php:7.4 +image: composer:latest stages: # List of stages for jobs, and their order of execution - build - test @@ -7,16 +7,11 @@ stages: # List of stages for jobs, and their order of execution build-job: # This job runs in the build stage, which runs first. stage: build script: - - apt-get update - - apt-get install php-zip - php -v - echo "Installing composer..." - - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" - - php composer-setup.php - - php -r "unlink('composer-setup.php');" - pwd - ls - - php composer.phar install + - composer install - echo "Compile complete." unit-test-job: # This job runs in the test stage.