X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=.gitlab-ci.yml;h=484d151867bd9cd06251ba50fc37e946a5f33acd;hb=faf3ee6255dc9f21d4286f462179dedef7ee85da;hp=2b204856a82e75e18f958ad4a77a79dbf774077a;hpb=359532cc2fb968a133aa4265b7202998eda0978f;p=mpd-sima.git diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2b20485..484d151 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ # Official language image. Look for the different tagged releases at: -# https://hub.docker.com/r/library/python/ +# https://hub.docker.com/_/python image: python:3 variables: @@ -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: