1 # Official language image. Look for the different tagged releases at:
2 # https://hub.docker.com/_/python
6 - local: .gitlab/gitlab-templates.yml
7 - local: .gitlab/pylint.yml
8 - template: Security/SAST.gitlab-ci.yml
11 #XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
12 PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache"
25 - pip install requests python-musicpd sphinx
26 - python setup.py test
27 # build wheel and source
28 - python setup.py bdist_wheel sdist
29 # manual and HTML documentation
30 - python setup.py build_sphinx
32 - pip install dist/*.whl
35 - TRACE=y ./mpd-sima -d --pid ./mpd-sima.pid -l ./mpd-sima.log
37 - test -f ./mpd-sima.pid && kill $(cat ./mpd-sima.pid)
50 - pip install pytest-cov requests python-musicpd
51 - py.test -q --cov=sima --junitxml=report.xml tests
60 # test virtualenv install
61 - python3 ./vinstall.py
69 SAST_EXCLUDED_ANALYZERS: brakeman, eslint, flawfinder, gosec, kubesec, nodejs-scan,
70 phpcs-security-audit, pmd-apex, security-code-scan, semgrep, sobelow, spotbugs
84 name: "$CI_PROJECT_NAME-$CI_COMMIT_TAG"