| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | set -x |
| 5 | |
| 6 | CWD=$(pwd) |
| 7 | PYTHON3S=$(py3versions -vs) |
| 8 | for i in ${PYTHON3S} ; do |
| 9 | python${i} setup.py install --install-layout=deb --root ${CWD}/debian/tmp |
| 10 | PYTHONPATH=${CWD}/debian/tmp/usr/lib/python3/dist-packages \ |
| 11 | http_proxy=127.0.0.1:9 https_proxy=127.0.0.9:9 \ |
| 12 | HTTP_PROXY=127.0.0.1:9 HTTPS_PROXY=127.0.0.1:9 \ |
| 13 | PYTHON=python${i} python${i} -m pytest -v tests \ |
| 14 | -k "not test_context_is_not_optional and not test_depends_on_failing_due_nothing_found and not test_depends_on_failing_due_not_calling_a_previous_action" |
| 15 | done |