From a559ee24df308d8ce92eb69dddef7f04d6c90cdc Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Sun, 25 Jun 2017 16:52:21 -0400 Subject: [PATCH] Make before_script global --- .gitlab-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 578574ee..c8bace14 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,11 +4,12 @@ stages: - test - deploy -test: - stage: test - before_script: +before_script: - apt-get update - apt-get install zip unzip + +test: + stage: test script: - cd api - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"