Created
April 15, 2014 07:38
-
-
Save dstufft/10710869 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| diff --git a/detox.sh b/detox.sh | |
| index e69de29..5fb8286 100755 | |
| --- a/detox.sh | |
| +++ b/detox.sh | |
| @@ -0,0 +1,8 @@ | |
| +#!/bin/sh | |
| + | |
| +# Create the sdist | |
| +rm -rf .tox/dist | |
| +python setup.py sdist --formats zip --dist-dir .tox/dist | |
| + | |
| +# Run the tests | |
| +tox -l | xargs -n 1 -P 4 tox -e | |
| diff --git a/tox.ini b/tox.ini | |
| index 4e23924..48c4e69 100644 | |
| --- a/tox.ini | |
| +++ b/tox.ini | |
| @@ -1,5 +1,6 @@ | |
| [tox] | |
| envlist = py34,pep8,docs,packaging | |
| +skipsdist = true | |
| [testenv] | |
| basepython = python3.4 | |
| @@ -7,6 +8,7 @@ deps = | |
| coverage | |
| pretend | |
| pytest | |
| + .tox/dist/warehouse-14.2.1.zip | |
| commands = | |
| coverage run --source warehouse -m pytest --strict [] | |
| coverage report -m --fail-under 100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment