#!/bin/sh
set -e
set -x
CWD=$(pwd)
PYTHON3S=$(py3versions -vs)
for i in ${PYTHON3S} ; do
python${i} setup.py install --install-layout=deb --root ${CWD}/debian/tmp
PYTHONPATH=${CWD}/debian/tmp/usr/lib/python3/dist-packages \
http_proxy=127.0.0.1:9 https_proxy=127.0.0.9:9 \
HTTP_PROXY=127.0.0.1:9 HTTPS_PROXY=127.0.0.1:9 \
PYTHON=python${i} python${i} -m pytest tests -v --disable-warnings -p no:warnings --ignore tests/test_pydev_resolver_plugin.py -k 'not test_errors[typed_DictConfig:assign_with_invalid_value] and not test_errors[path_to_float] and not test_to_yaml and not test_type_str[Path-True-pathlib.Path-False] and not test_type_str[Path-True-pathlib.Path-True] and not test_errors and not test_setitem_slice[partially-valid-input-list]'
done
|