Browse Source

Add a test job

Achilleas Pipinellis 9 years ago
parent
commit
6f3ebcb689
1 changed files with 12 additions and 0 deletions
  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