CI: Always run setup.sh script
authorVarac <varac@leap.se>
Thu, 21 Dec 2017 08:55:24 +0000 (09:55 +0100)
committerVarac <varac@leap.se>
Thu, 21 Dec 2017 10:27:06 +0000 (11:27 +0100)
.gitlab-ci.yml

index 64583fd..6d71f58 100644 (file)
@@ -9,20 +9,12 @@ 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
+  - time ./setup.sh
 
 stages:
-  - setup
   - syntax
   - deploy
 
-setup:
-  stage: setup
-  script:
-    - ./setup.sh
-
 lint:
   stage: syntax
   script: