From 0f902f683c6486c214ddcc9a7c15ac543fc09770 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Mon, 11 Sep 2017 12:48:34 -0400 Subject: [PATCH] More CI fixes --- .gitlab-ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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