Updated travis and tox config files to match test envs.

This commit is contained in:
Jannis Leidel 2020-02-07 10:40:40 +01:00
parent 91ddd54a8d
commit 8bdca24ced
No known key found for this signature in database
GPG key ID: C795956FB489DCA9
2 changed files with 19 additions and 17 deletions

View file

@ -3,21 +3,24 @@ dist: xenial
python:
- 2.7
- 3.7
sudo: false
cache: pip
install:
- pip install tox-travis codecov
install: pip install tox-travis codecov
script: tox -v
after_success:
- codecov
deploy:
provider: pypi
user: jazzband
server: https://jazzband.co/projects/django-authority/upload
distributions: sdist bdist_wheel
password:
secure: TZJdf9naBzdkE+HDyhtoCIIc0ddEXLWW/VUD975gJUWQpOA69h4ZjCCQ6z21AZdrWczCUh6/cOLYYSoC9OeaHqF+Jzunn3iEomvdVRsW7SX7MAxTFUENQHF3S3j8fYlqIPWvNDOgxJ/AERisMUSZkRKWIYjEInYo31RoJ1ySN0w=
on:
tags: true
python: 3.5
repo: jazzband/django-authority
after_success: codecov
jobs:
fast_finish: true
include:
- stage: deploy
env:
python: 3.7
script: skip
deploy:
provider: pypi
user: jazzband
server: https://jazzband.co/projects/django-authority/upload
distributions: sdist bdist_wheel
password:
secure: TZJdf9naBzdkE+HDyhtoCIIc0ddEXLWW/VUD975gJUWQpOA69h4ZjCCQ6z21AZdrWczCUh6/cOLYYSoC9OeaHqF+Jzunn3iEomvdVRsW7SX7MAxTFUENQHF3S3j8fYlqIPWvNDOgxJ/AERisMUSZkRKWIYjEInYo31RoJ1ySN0w=
on:
tags: true
repo: jazzband/django-authority

View file

@ -13,6 +13,5 @@ commands =
coverage report
deps =
coverage
dj110: Django>=1.10,<1.11
dj111: Django>=1.11,<2.0
dj22: Django>=2.2,<2.3