Makefile
This file
Path
Makefile
52 lines · 1.2 KiB
Last changed by
basics workingKenneth Reitzbefore adoption366e8e8
History of this fileTake it
1SHELL := /bin/bash23# test_requests_ext.py depends on external services, and async doesn't work under Python 34# Travis/Jenkins should be ensuring that all other tests pass on all supported versions5CI_TESTS=$(shell find tests/ -name "*.py" ! -name "test_requests_ext.py" ! -name "test_requests_async.py")67iter:8 python test_iteration.py910init:11 python setup.py develop12 pip install -r requirements.txt1314test:15 nosetests ./tests/*1617lazy:18 nosetests --with-color tests/test_requests.py1920simple:21 nosetests tests/test_requests.py2223citests:24 nosetests ${CI_TESTS} --with-xunit --xunit-file=junit-report.xml2526ci: citests cipyflakes2728travis: citests2930server:31 gunicorn httpbin:app --bind=0.0.0.0:7077 &3233deps: urllib3 certs charade3435urllib3:36 rm -fr requests/packages/urllib337 git clone https://github.com/shazow/urllib3.git38 cd urllib3 && git checkout master && cd ..39 mv urllib3/urllib3 requests/packages/40 rm -fr urllib34142charade:43 rm -fr requests/packages/charade44 git clone https://github.com/sigmavirus24/charade.git45 cd charade && git checkout master && cd ..46 mv charade/charade requests/packages/47 rm -fr charade4849certs:50 cd requests && curl -O https://raw.github.com/kennethreitz/certifi/master/certifi/cacert.pem5152docs: site