summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml3
1 files changed, 3 insertions, 0 deletions
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