diff options
| author | Varac <varac@leap.se> | 2017-06-29 16:25:22 +0200 |
|---|---|---|
| committer | Varac <varac@leap.se> | 2017-06-30 17:30:45 +0200 |
| commit | 3f61221b48730be56ddb19d31d79fc225c8626c7 (patch) | |
| tree | b038a294e44bad6f7d11e62c119bf65d93dc60b0 | |
| parent | 9f315d37968f0135deb3fadcdf6cf54278153de0 (diff) | |
[CI] Run setup.sh when running CI tests locally
| -rw-r--r-- | .gitlab-ci.yml | 3 |
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 |
