Bump version and update changelog
[nimcoon.git] / .gitlab-ci.yml
index e9d949b3a0a08b8a8ce9f9a462cb99b2ca11c606..f7727daf6c95ad46e233ea27fec118246b15c01a 100644 (file)
@@ -1,12 +1,18 @@
 image: nimlang/nim:latest
 
 stages:
-  - build
+  - test
+  - publish
 
-compile:
-  stage: build
+run-unit-tests:
+  stage: test
   script:
-    - nim c -d:ssl -d:release clitube.nim
+    - nimble test
+
+publish-artifacts:
+  stage: publish
+  script:
+    - nimble build && strip nimcoon
   artifacts:
     paths:
-      - clitube
+      - nimcoon