Skip to content

Commit

Permalink
add tox environments that have the user specify what tests should be …
Browse files Browse the repository at this point in the history
…run (#837)
  • Loading branch information
beckjake authored Jul 11, 2018
1 parent 19be61a commit 56e3028
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,26 @@ deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/dev_requirements.txt

[testenv:explicit-py27]
basepython = python2.7
passenv = *
setenv =
HOME=/root/
commands = /bin/bash -c '{envpython} $(which nosetests) -v {posargs}'
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/dev_requirements.txt

[testenv:explicit-py36]
basepython = python3.6
passenv = *
setenv =
HOME=/root/
commands = /bin/bash -c '{envpython} $(which nosetests) -v {posargs}'
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/dev_requirements.txt

[testenv:pywin]
basepython = {env:PYTHON:}\python.exe
passenv = *
Expand Down

0 comments on commit 56e3028

Please sign in to comment.