-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The way I've done build matrices in the past is to use Tox to handle all the tedious work of setting up virtul aenvironments and running the tests. It also looks like there's a nice plugin, [tox-travis](https://github.com/tox-dev/tox-travis), which takes in the evironment definsed to run the appropriate tests. Unfortunately, when this was run against Pythonn 3.5, the tests failed, so that's a later PR. Test Plan: - Run `tox` locally and confirm the tests pass on py36, py37, and py38
- Loading branch information
Showing
4 changed files
with
38 additions
and
37 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 |
---|---|---|
|
@@ -2,4 +2,6 @@ | |
*.pyc | ||
/puncover.egg-info/ | ||
/build/ | ||
/dist/ | ||
/dist/ | ||
.tox | ||
.coverage |
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,11 +1,11 @@ | ||
language: python | ||
python: | ||
# Python3.5 unit tests fail | ||
- "3.5" | ||
- "3.6" | ||
- "3.7" | ||
install: | ||
- pip install . | ||
- pip install -r requirements.txt | ||
- python setup.py -q install | ||
script: | ||
- nosetests --with-cov | ||
- "3.8" | ||
install: pip install tox-travis | ||
script: tox | ||
after_success: | ||
- codecov |
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