3
# tox has an undocumented (as of 1.4.2) config option called "sdistsrc"
4
# which can make a run use a pre-prepared sdist file.
5
# we prepare the sdist once , then launch the tox runs in parallel using it.
7
# currently (tox 1.4.2) We have to skip sdist generation when running in parallel
12
ENVS=$(cat tox.ini | grep envlist | tr "," " " | cut -d " " -f 3-)
13
TOX_INI_PAR="tox_prll.ini"
15
if [ x"$1" == x"fast" ]; then
16
scripts/use_build_cache.py
19
echo "[Creating distfile]"
21
export DISTFILE="$(find .tox/dist -type f )"
23
echo -e "[Starting tests]\n"
25
echo "[launching tox for $e]"
26
tox -c "$TOX_INI_PAR" -e "$e" &