diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b7b12e73..dfe1eb8e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,10 +5,6 @@ stages: before_script: - bash ci/docker_install.sh > /dev/null - - cd api - - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" - - php composer-setup.php - - php -r "unlink('composer-setup.php');" validate:7.1: image: php:7.1 @@ -38,6 +34,10 @@ test:7.1: image: php:7.1 stage: test script: + - cd api + - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" + - php composer-setup.php + - php -r "unlink('composer-setup.php');" - php composer.phar update - php composer.phar install - cd Tests @@ -47,6 +47,10 @@ test:7.0: image: php:7.0 stage: test script: + - cd api + - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" + - php composer-setup.php + - php -r "unlink('composer-setup.php');" - php composer.phar update - php composer.phar install - cd Tests