Last active
August 29, 2015 14:20
-
-
Save msabramo/a21033f86b0a22897a88 to your computer and use it in GitHub Desktop.
Tox keeps executing commands even when one fails
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
$ tox --version | |
1.9.0 imported from /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/tox/__init__.pyc | |
$ tox | |
py27 runtests: PYTHONHASHSEED='1229193552' | |
py27 runtests: commands[0] | echo 1 | |
1 | |
py27 runtests: commands[1] | false | |
ERROR: InvocationError: '/usr/bin/false' | |
py27 runtests: commands[2] | echo 2 | |
2 | |
py27 runtests: commands[3] | true | |
py27 runtests: commands[4] | echo 3 | |
3 |
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
[tox] | |
skipsdist = True | |
envlist = py27 | |
[testenv] | |
whitelist_externals = | |
echo | |
false | |
true | |
commands = | |
echo 1 | |
false | |
echo 2 | |
true | |
echo 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment