# https://hub.docker.com/_/python
image: python:3
+include:
+ - local: .gitlab/gitlab-templates.yml
+ - local: .gitlab/pylint.yml
+
variables:
#XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache"
smoketest:
stage: test
script:
- - pip install pytest-cov requests
- - py.test -q --cov=sima tests
+ - pip install requests
- python setup.py test
# build wheel and source
- python setup.py bdist_wheel sdist
- dist/*.tar.gz
- dist/*.zip
+unittests:
+ stage: test
+ script:
+ - pip install pytest-cov requests
+ - py.test -q --cov=sima --junitxml=report.xml tests
+ artifacts:
+ when: always
+ reports:
+ junit: report.xml
+
vinstall:
stage: test
script: