Add release config.

Fix https://github.com/jazzband-roadies/help/issues/201.
This commit is contained in:
Jannis Leidel 2020-10-02 10:45:07 +02:00
parent f663fa4b03
commit 13d2b3ae58
No known key found for this signature in database
GPG key ID: C795956FB489DCA9
2 changed files with 29 additions and 8 deletions

View file

@ -1,12 +1,34 @@
language: python
dist: bionic
python:
- 3.6
- 3.7
- 3.8
- 3.9-dev
- 3.6
- 3.7
- 3.8
- 3.9-dev
install:
- pip install tox
- pip install -q tox-travis
- pip install tox tox-travis
script:
- tox
- tox -v
jobs:
fast_finish: true
include:
- stage: deploy
env:
python: 3.7
script: skip
deploy:
provider: pypi
user: jazzband
server: https://jazzband.co/projects/django-downloadview/upload
distributions: sdist bdist_wheel
password:
secure: TYFfz5OkSH0YwTKh0lc0PbddcuZh5oL2H1AVIXHs2dODQ46PNgLYgDRe9k9PItAenxm7QCnGRONJo2o1GNuiCcAOWK84jbrmufHZ5EeKTOVtssyrffSA/Oxfs5mFJ/Kgy3o8FC1hGRKXrXFN3bvedmVHERGQimQESPxHQ9sPWhc=
skip_existing: true
skip_cleanup: true
on:
tags: true
repo: jazzband/django-downloadview
python: 3.7
after_success:
- pip install coveralls
- coveralls

View file

@ -18,7 +18,6 @@ commands =
pip install -e .
pip install -e demo
python -Wd {envbindir}/demo test --cover-package=django_downloadview --cover-package=demoproject {posargs: tests demoproject}
coverage erase
pip freeze
[testenv:flake8]