← nimrepo

test

74b74246e9bf1e0e8ed1f19d8a0aee26e0bbe422 · ovidiucs · Feb 28, 2019 16:13

+15 −2 · 1 file changed

  • .gitlab-ci.yml +15 −2
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ce0b3fa..801e48e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,7 +2,20 @@ image: yglukhov/nim-base
 
 stages:
   - test
+  - build
+  - deploy
 
-job1:
+test:
+  stage: test
+  script: echo "running test"
+
+build:
+  stage: build
+  script: echo "build stage"
+
+deploy_staging:
+  stage: deploy
   script:
-    nim -v
+    - echo "Deploy to staging server"
+  only:
+    - maser