-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
159 additions
and
122 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,40 @@ | ||
dist: xenial | ||
language: python | ||
cache: pip | ||
install: pip install --upgrade tox | ||
script: tox | ||
|
||
# Drop once EOL: https://devguide.python.org/#status-of-python-branches | ||
python: | ||
- '2.7' | ||
- '3.5' | ||
- '3.6' | ||
jobs: | ||
include: | ||
## Linux | ||
|
||
install: pip install tox | ||
script: | ||
- 'tox' | ||
# CPython (in official virtualenv) | ||
- python: '3.5' | ||
- python: '3.6' | ||
# 3.7 is below | ||
- python: '3.8' | ||
|
||
# PyPy (in official virtualenv) | ||
- python: pypy3 | ||
env: TOXENV=pypy3 | ||
|
||
# Correctness tests. "coverage" toxenv runs tests, so no need to run | ||
# TOXENV=py38. | ||
# | ||
# TODO: pytype doesn't yet support 3.8, switch this with 3.8 above when it | ||
# does | ||
|
||
matrix: | ||
include: | ||
# "coverage" toxenv runs tests, so no need to run TOXENV=py37 | ||
- python: '3.7' | ||
env: TOXENV=black,pylint,pytype,bandit,coverage | ||
|
||
## Special jobs | ||
|
||
# Run long Hypothesis tests for release/cron | ||
- if: branch =~ ^release/.*$ or type = cron | ||
python: '3.8' | ||
env: TOXENV=py-release | ||
|
||
notifications: | ||
email: | ||
- travis+tzupdate@chrisdown.name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
nose | ||
hypothesis | ||
httpretty | ||
parameterized | ||
mock | ||
ipaddress | ||
pytest>=4,<5 | ||
pytest-cov>=2,<3 | ||
hypothesis>=4,<5 | ||
httpretty>=0.9,<0.10 | ||
parameterized>=0.7,<0.8 | ||
mock>=3,<4 | ||
ipaddress>=1,<2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.