forked from dstufft/django-passwords
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (29 loc) · 850 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
dist: focal
language: python
python:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
install:
- pip install -r requirements/test.txt
script:
# Convert Travis Python version, as above, to first part of Tox environment
# name, and then run tests for each supported Django version in each
# environment - adapted from https://stackoverflow.com/a/42309035/2620402.
- tox -l | grep $(echo py$TRAVIS_PYTHON_VERSION | tr -d .) | xargs -n1 tox -e
after_success:
- coverage report
- coveralls
notifications:
email:
recipients:
- maccesch@web.de
deploy:
provider: pypi
user: maccesch
password:
secure: NoM2NEezIgizj/Q8JeezHKDDNzYsJCEBGIVJ3gAqSIhsq71hWBiA5coautBq214zIXR9P8WlX5ZzEvdEiZJc/u6jgL9Ggp2YOsi5fjGqbAdiGvlPd6lAfgnlbdNqJgjkTEckktiQEmiZYmZGz8tE57In7+BDIuxEg2QWX9eQ21E=
on:
tags: true
repo: dstufft/django-passwords