From 3f61221b48730be56ddb19d31d79fc225c8626c7 Mon Sep 17 00:00:00 2001 From: Varac Date: Thu, 29 Jun 2017 16:25:22 +0200 Subject: [CI] Run setup.sh when running CI tests locally --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 21ea1f73..0e90ce75 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,6 +12,9 @@ cache: before_script: - cd tests/platform-ci + # Check if running locally ($CI_PROJECT_ID is 0 then) and run setup.sh in + # this case + - if [ "$CI_PROJECT_ID" = "0" ]; then ./setup.sh; fi stages: - setup -- cgit v1.2.3