summaryrefslogtreecommitdiff
path: root/dockernose.sh
blob: c9227118a5e58323a041cdd6f461fea605fa8e2d (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash
set -ex
if [ -z "${PYVER}" ]; then
    PYVER=py37
fi

# remember to use "-s" if you inject pdb.set_trace() as this disables nosetests capture of streams

tox -e ${PYVER} --notest
PYTHONPATH=/src/.tox/${PYVER}/lib/python*/site-packages /src/.tox/${PYVER}/bin/nosetests --pdb $*