From: kaliko <kaliko@azylum.org>
Date: Sun, 24 Mar 2019 13:34:12 +0000 (+0100)
Subject: ci: Add vinstall test
X-Git-Tag: 0.15.2~5
X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=489c52affbdd678c08d1da7a68c4722b33bb23cd;p=mpd-sima.git

ci: Add vinstall test
---

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2b20485..69715bb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,7 +14,7 @@ stages:
   - test
   - build
 
-test:
+smoketest:
   stage: test
   script:
   - pip install pytest-cov requests
@@ -33,10 +33,20 @@ test:
     - dist/*.tar.gz
     - dist/*.zip
 
+vinstall:
+  stage: test
+  script:
+  # test virtualenv install
+  - python3 ./vinstall.py
+  # smoke test
+  - ./vmpd-sima --help
+  artifacts:
+    expire_in: 1 hour
+
 tag_release:
   stage: build
   dependencies:
-    - test
+    - smoketest
   script:
     - python -V
   artifacts: