Commit 41c251a1 authored by inkhey's avatar inkhey

Merge branch 'master' of framagit.org:inkhey/pioupiou

parents 9d3b120a be42b3f0
Pipeline #148131 passed with stages
in 57 seconds
# This file is a template, and might need editing before it works on your project.
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/python/tags/
image: python:latest
before_script:
- python -V # Print out python version for debugging
- pip install virtualenv
- virtualenv venv
- source venv/bin/activate
.pytest: &pytest
stage: test
script:
- pip install -e ".[testing]"
- pytest
stages:
- test
- publish
pytest_latest:
image: python:latest
<<: *pytest
pytest_3.7:
image: python:3.7
<<: *pytest
pytest_3.6:
image: python:3.6
<<: *pytest
pytest_3.5:
image: python:3.5
<<: *pytest
publish_to_pypi:
stage: publish
script:
- pip install -U twine setuptools wheel
- python setup.py bdist_wheel
- twine upload -u $PYPI_USER -p $PYPI_PASS dist/*
only:
- tags
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment