-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak tox.ini to get it working well again
- Loading branch information
1 parent
bc718b1
commit b3afb27
Showing
2 changed files
with
12 additions
and
14 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
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,14 @@ | ||
[tox] | ||
envlist = py27, py38 | ||
envlist = py27, py312 | ||
|
||
[testenv] | ||
changedir = {envtmpdir} | ||
deps = | ||
numpy | ||
whitelist_externals = python | ||
commands = python -m unittest discover -b {posargs} sgp4 | ||
|
||
# Force the C++ to compile under Python 3, so that we really test the | ||
# extension and not accidentally test the pure Python code over again | ||
# (which is already tested under Python 2 in the env below). | ||
setenv = TRAVIS = true | ||
|
||
[testenv:py26] | ||
deps = | ||
numpy | ||
unittest2 | ||
commands = python -m {envbindir}/unit2 discover {posargs} sgp4 | ||
# (which is already tested under Python 2). | ||
setenv = SGP4_FORCE_COMPILE = true |