mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Have Travis run all tests except the external and async ones
(async is currently unsupported under Python 3)
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ python:
|
||||
- 2.7
|
||||
- 3.2
|
||||
env: HTTPBIN_URL=http://httpbin.org/
|
||||
script: make simpleci
|
||||
script: make ci
|
||||
install:
|
||||
- pip install nose
|
||||
- pip install . --use-mirrors
|
||||
|
||||
@@ -13,15 +13,12 @@ lazy:
|
||||
simple:
|
||||
nosetests tests/test_requests.py
|
||||
|
||||
ci:
|
||||
find tests/ -name "*.py" ! -name "test_requests_ext.py" ! -name "test_requests_async.py" | xargs nosetests --with-xunit --xunit-file=junit-report.xml
|
||||
|
||||
server:
|
||||
gunicorn httpbin:app --bind=0.0.0.0:7077 &
|
||||
|
||||
ci: init
|
||||
nosetests tests/test_requests.py --with-xunit --xunit-file=junit-report.xml
|
||||
|
||||
simpleci:
|
||||
nosetests tests/test_requests.py --with-xunit --xunit-file=junit-report.xml
|
||||
|
||||
stats:
|
||||
pyflakes requests | awk -F\: '{printf "%s:%s: [E]%s\n", $1, $2, $3}' > violations.pyflakes.txt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user