forked from psf/requests
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
52 lines (37 loc) · 1.2 KB
/
Makefile
File metadata and controls
52 lines (37 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
SHELL := /bin/bash
# test_requests_ext.py depends on external services, and async doesn't work under Python 3
# Travis/Jenkins should be ensuring that all other tests pass on all supported versions
CI_TESTS=$(shell find tests/ -name "*.py" ! -name "test_requests_ext.py" ! -name "test_requests_async.py")
iter:
python test_iteration.py
init:
python setup.py develop
pip install -r requirements.txt
test:
nosetests ./tests/*
lazy:
nosetests --with-color tests/test_requests.py
simple:
nosetests tests/test_requests.py
citests:
nosetests ${CI_TESTS} --with-xunit --xunit-file=junit-report.xml
ci: citests cipyflakes
travis: citests
server:
gunicorn httpbin:app --bind=0.0.0.0:7077 &
deps: urllib3 certs charade
urllib3:
rm -fr requests/packages/urllib3
git clone https://github.com/shazow/urllib3.git
cd urllib3 && git checkout master && cd ..
mv urllib3/urllib3 requests/packages/
rm -fr urllib3
charade:
rm -fr requests/packages/charade
git clone https://github.com/sigmavirus24/charade.git
cd charade && git checkout master && cd ..
mv charade/charade requests/packages/
rm -fr charade
certs:
cd requests && curl -O https://raw.github.com/kennethreitz/certifi/master/certifi/cacert.pem
docs: site