Lines Matching +full:install +full:- +full:pytest
2 set -eux
3 # By default, run tests with pytest-forked plugin,
4 # disable in terminal for debugging, you may add --forked
5 flag_forked="--forked"
6 if [[ -z "${CONTINUOUS_INTEGRATION-}" ]] && [[ -t 1 ]] ; then
17 if [[ -n "${CONTINUOUS_INTEGRATION-}" ]] ; then
18 case "${test_group-}" in
33 pip install -e .
34 httplib2_test_still_run_skipped=1 pytest --fulltrace -k test_303 $@ tests/ || true
35 httplib2_test_still_run_skipped=1 pytest --fulltrace -k test_head_301 $@ tests/ || true
36 pytest --fulltrace ${test_flags[@]}
40 if [[ ! -d ./venv-27 ]] ; then
41 virtualenv --python=python2.7 ./venv-27
43 if [[ ! -d ./venv-36 ]] ; then
44 virtualenv --python=python3.6 ./venv-36
47 ./venv-27/bin/pip install -e . -r requirements-test.txt
48 ./venv-27/bin/pytest ${test_flags[@]}
49 ./venv-36/bin/pip install -e . -r requirements-test.txt
50 ./venv-36/bin/pytest ${test_flags[@]}
53 # ./venv-27/bin/flake8 python2/
54 # ./venv-36/bin/flake8 python3/ tests/
58 ./venv-36/bin/python setup.py sdist
59 install_check_version "./venv-27/bin/pip"
60 install_check_version "./venv-36/bin/pip"
62 rm -rf ./_httplib2_test_cache
67 $pip install dist/httplib2*
68 version_source=$(cd python3 ; python3 -Es -c 'import httplib2;print(httplib2.__version__)')
69 version_installed=$($pip show httplib2 |fgrep Version |cut -d' ' -f2)