1
0
Fork 0
mirror of https://github.com/shouptech/synthale.git synced 2026-02-03 15:39:45 +00:00

Add automated pypi upload

This commit is contained in:
Emma 2019-01-02 14:28:41 -07:00
parent 88fb3c01d8
commit e46a982cc2

View file

@ -74,6 +74,26 @@ jobs:
pip install flake8 flake8-docstrings pip install flake8 flake8-docstrings
flake8 flake8
pypi:
docker:
- image: python:3
steps:
- checkout
- run:
name: Install twine
command: |
pip install twine
- run:
name: Build package
command: |
python setup.py sdist bdist_wheel
- run:
name: Upload to PyPi
command: |
twine upload dist/*
workflows: workflows:
version: 2 version: 2
@ -86,3 +106,14 @@ workflows:
requires: requires:
- test-py37 - test-py37
- style - style
- pypi:
requires:
- test-py35
- test-py36
- test-py37
- style
filters:
tags:
only: /v.*/
branches:
ignore: /.*/