Skip to content

Commit 57ccd7e

Browse files
committed
Have Travis run all tests except the external and async ones
(async is currently unsupported under Python 3)
1 parent a903391 commit 57ccd7e

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ python:
44
- 2.7
55
- 3.2
66
env: HTTPBIN_URL=http://httpbin.org/
7-
script: make simpleci
7+
script: make ci
88
install:
99
- pip install nose
1010
- pip install . --use-mirrors

Makefile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,12 @@ lazy:
1313
simple:
1414
nosetests tests/test_requests.py
1515

16+
ci:
17+
find tests/ -name "*.py" ! -name "test_requests_ext.py" ! -name "test_requests_async.py" | xargs nosetests --with-xunit --xunit-file=junit-report.xml
18+
1619
server:
1720
gunicorn httpbin:app --bind=0.0.0.0:7077 &
1821

19-
ci: init
20-
nosetests tests/test_requests.py --with-xunit --xunit-file=junit-report.xml
21-
22-
simpleci:
23-
nosetests tests/test_requests.py --with-xunit --xunit-file=junit-report.xml
24-
2522
stats:
2623
pyflakes requests | awk -F\: '{printf "%s:%s: [E]%s\n", $1, $2, $3}' > violations.pyflakes.txt
2724

0 commit comments

Comments
 (0)