Merge "Do the sdist check in a virtualenv"

This commit is contained in:
Jenkins 2016-01-05 19:00:38 +00:00 committed by Gerrit Code Review
commit 7ae6349573

View File

@ -18,8 +18,9 @@ venv=${1:-pep8}
export UPPER_CONSTRAINTS_FILE=$(pwd)/upper-constraints.txt
python setup.py sdist
virtualenv sdist_check && sdist_check/bin/pip install pbr && sdist_check/bin/python setup.py sdist
sdistrc=$?
rm -rf sdist_check
tox -v -e$venv
rc=$?