Commit 4a2c6449 authored by Martino Bertoni's avatar Martino Bertoni 🌋
Browse files

initial CI script

parent e617fae1
image: python:3.7
before_script:
- python --version
- pip install -r requirements.txt
stages:
- test
unittest:
stage: test
script:
- pwd
- ls -l
- export PYTHONPATH="$PYTHONPATH:."
- python -c "import sys;print(sys.path)"
- pytest
pypi_deploy:
stage: deploy
cache: {}
script:
- pip install -U twine
- python setup.py sdist
- twine upload --verbose --repository-url https://test.pypi.org/legacy/ dist/*
only:
- master
\ No newline at end of file
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