-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use pytest with tox to run tests. - Update travis to run tests via tox. - Update list of supported Python versions. Technically 2.6 is still supported, but it does not work with tox, so we can't run the tests there. Running tests with `setup.py test` still uses nose as runner. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
- Loading branch information
Showing
2 changed files
with
18 additions
and
8 deletions.
There are no files selected for viewing
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,9 +1,13 @@ | ||
language: python | ||
python: | ||
- "2.6" | ||
- "2.7" | ||
- "3.3" | ||
- "3.4" | ||
- "3.5" | ||
- "3.6" | ||
script: "python setup.py test" | ||
matrix: | ||
include: | ||
- python: "2.7" | ||
env: TOXENV=py27 | ||
- python: "3.6" | ||
env: TOXENV=py36 | ||
- python: "3.7" | ||
env: TOXENV=py37 | ||
install: | ||
- pip install tox | ||
script: | ||
- tox -e $TOXENV |
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