-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
register marks, document python and pytest dependencies, and test the…
… full matrix with tox and travis
- Loading branch information
1 parent
d3e5615
commit 5870808
Showing
6 changed files
with
53 additions
and
20 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,16 +1,18 @@ | ||
dist: xenial | ||
language: python | ||
python: "3.5" | ||
env: | ||
- TOX_ENV=py35 | ||
- TOX_ENV=py34 | ||
- TOX_ENV=py33 | ||
- TOX_ENV=py27 | ||
- TOX_ENV=py26 | ||
python: | ||
- "2.7" | ||
- "3.4" | ||
- "3.5" | ||
- "3.6" | ||
- "3.7" | ||
- "pypy" | ||
install: | ||
- pip install tox | ||
- pip install python-coveralls | ||
script: | ||
- tox -e $TOX_ENV | ||
- TOX_PYTHON_VERSION=$(if [ $TRAVIS_PYTHON_VERSION = "pypy" ]; then echo "pypy"; else echo py$TRAVIS_PYTHON_VERSION | tr -d .; fi) | ||
- tox -e $(tox -l | grep $TOX_PYTHON_VERSION | paste -sd "," -) | ||
after_success: | ||
coveralls | ||
- coveralls | ||
sudo: false |
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
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,9 +1,20 @@ | ||
# content of: tox.ini, put in same dir as setup.py | ||
[tox] | ||
envlist = py26,py27,py33,py34,py35,pypy | ||
envlist = {py27,py34,py35,py36,py37,pypy}-pytest{36,37,38,39,310,40,41,42,43,44,45} | ||
[testenv] | ||
deps=pytest | ||
deps = | ||
pytest36: pytest>=3.6,<3.7 | ||
pytest37: pytest>=3.7,<3.8 | ||
pytest38: pytest>=3.8,<3.9 | ||
pytest39: pytest>=3.9,<3.10 | ||
pytest310: pytest>=3.10,<3.11 | ||
pytest40: pytest>=4.0,<4.1 | ||
pytest41: pytest>=4.1,<4.2 | ||
pytest42: pytest>=4.2,<4.3 | ||
pytest43: pytest>=4.3,<4.4 | ||
pytest44: pytest>=4.4,<4.5 | ||
pytest45: pytest>=4.5,<4.6 | ||
pytest-cov | ||
commands= | ||
commands = | ||
coverage run --source=pytest_ordering -m py.test tests | ||
coverage report -m --fail-under=95 |