Skip to content

Commit

Permalink
Run clean --all in all tox targets (#121)
Browse files Browse the repository at this point in the history
The second full tox run fails because 'py27' target is picking up C
object files from 'py2-nosasltls'. Each target needs to clean up and
start from scratch.

https://github.com/python-ldap/python-ldap/pull/121
Signed-off-by: Christian Heimes <cheimes@redhat.com>
  • Loading branch information
Christian Heimes authored and Petr Viktorin committed Dec 13, 2017
1 parent 5b8b265 commit 8f2cded
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ passenv = WITH_GCOV
commands = {envpython} -bb -Werror \
"-Wignore:the imp module is deprecated:DeprecationWarning" \
"-Wignore:the imp module is deprecated:PendingDeprecationWarning" \
-m coverage run --parallel setup.py test
-m coverage run --parallel setup.py \
clean --all \
test

[testenv:py27]
# No warnings with Python 2.7
Expand Down

0 comments on commit 8f2cded

Please sign in to comment.