1 # Official language image. Look for the different tagged releases at:
2 # https://hub.docker.com/r/library/python/
9 # Change pip's cache directory to be inside the project directory since we can
10 # only cache local items.
12 PIP_CACHE_DIR: "$CI_PROJECT_DIR/cache"
14 # Pip's cache doesn't store the python packages
15 # https://pip.pypa.io/en/stable/reference/pip_install/#caching
17 # If you want to also cache the installed packages, you have to install
18 # them in a virtualenv and cache it as well.
25 - python -V # Print out python version for debugging
27 - source venv/bin/activate
32 - pip install pytest-cov
33 - py.test -q --cov=sima tests
34 - python setup.py test
35 - pip install tox flake8
41 - python setup.py bdist_wheel sdist
60 name: "$CI_PROJECT_NAME-$CI_COMMIT_TAG"