X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=.gitlab-ci.yml;h=195423eef5542b2da4108e14bfb2b61a304ccb6f;hb=799caf7d8e01cf9a10857bda5738fe98afd3902e;hp=639d773bb666c69e5c6405c5dc8037db1061082a;hpb=8bebf7d6199c06738f64b8989acb21ef2d6f67fe;p=mpd-sima.git diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 639d773..195423e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,25 +22,32 @@ stages: smoketest: stage: test script: - - pip install requests + - pip install requests python-musicpd sphinx - python setup.py test # build wheel and source - python setup.py bdist_wheel sdist + # manual and HTML documentation + - python setup.py build_sphinx # install - pip install dist/*.whl # smoke test - mpd-sima --help + - TRACE=y ./mpd-sima -d --pid ./mpd-sima.pid -l ./mpd-sima.log + - sleep 10 + - test -f ./mpd-sima.pid && kill $(cat ./mpd-sima.pid) artifacts: expire_in: 1 hour paths: - dist/*.whl - dist/*.tar.gz - dist/*.zip + - ./mpd-sima.pid + - ./mpd-sima.log unittests: stage: test script: - - pip install pytest-cov requests + - pip install pytest-cov requests python-musicpd - py.test -q --cov=sima --junitxml=report.xml tests artifacts: when: always