Explorar o código

Add a test job

Achilleas Pipinellis %!s(int64=9) %!d(string=hai) anos
pai
achega
6f3ebcb689
Modificáronse 1 ficheiros con 12 adicións e 0 borrados
  1. 12 0
      .gitlab-ci.yml

+ 12 - 0
.gitlab-ci.yml

@@ -1,6 +1,18 @@
 image: ruby:2.3
 
+test:
+  stage: test
+  script:
+  - gem install jekyll
+  - jekyll build -d test
+  artifacts:
+    paths:
+    - test
+  except:
+  - master
+
 pages:
+  stage: deploy
   script:
   - gem install jekyll
   - jekyll build -d public