diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 596b6b4b6c73e56412c0cf27ff4eca737b814a84..7558131ba0f636dec4f3a1c728f89f54de88939b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,9 +6,9 @@ before_script:
   - python3 -V                                   # Print out python version for debugging
 
 stages:
-  - deploy
   - build
   - test
+  - deploy
 
 
 navipy_install:
@@ -28,6 +28,17 @@ navipy_unittest:
   - pip3 install --user networkx
   - python3 -m unittest discover navipy
 
+coverage:
+    stage: test
+    script:
+        - nosetests -c .noserc -q --cover-html-dir=build --cover-html
+        - coverage report -m
+    coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
+    artifacts:
+        paths:
+            - build
+        expire_in: 1 day
+
 doc_build:
   stage: deploy
   before_script: