-
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplifications related to packaging and testing. (#220)
* specify test dependencies in setup.py * simplify running of test tools (conda and pip packages tested same way as developers test) * reduce duplication of packaging metadata Also, fixes detection of existing conda package (change missed when switching to autover).
- Loading branch information
Showing
5 changed files
with
54 additions
and
19 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
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,30 +1,35 @@ | ||
[tox] | ||
envlist = py36,py35,py34,py33,py27,pypy,flake8 | ||
envlist = | ||
py36,py35,py34,py33,py27,pypy, | ||
{py27,py36}-flakes, | ||
{py27,py36}-with_numpy, | ||
{py27,py36}-with_ipython | ||
|
||
[testenv] | ||
deps = nose | ||
commands = nosetests --verbose --nologcapture --with-doctest | ||
deps = .[tests] | ||
commands = nosetests | ||
|
||
[testenv:coverage] | ||
# remove develop install if https://github.com/ioam/param/issues/219 | ||
# implemented | ||
setdevelop = True | ||
passenv = TRAVIS TRAVIS_* | ||
deps = nose | ||
deps = {[testenv]deps} | ||
coveralls | ||
commands = nosetests -vv --with-doctest --with-coverage --cover-package=param | ||
commands = nosetests --with-coverage --cover-package=param | ||
coveralls | ||
# TODO missing numbergen | ||
|
||
[testenv:with_numpy] | ||
deps = nose | ||
deps = {[testenv]deps} | ||
numpy | ||
setenv = PARAM_TEST_NUMPY = 1 | ||
|
||
[testenv:with_ipython] | ||
deps = nose | ||
deps = {[testenv]deps} | ||
ipython | ||
setenv = PARAM_TEST_IPYTHON = 1 | ||
|
||
[testenv:lint_checks] | ||
deps = flake8 | ||
[testenv:flakes] | ||
skip_install = true | ||
commands = flake8 setup.py param numbergen # TODO tests (one day) | ||
commands = flake8 |