Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update Makefile and travis configuration to run all (non-external) tests

  • Loading branch information...
commit a453a78c7c94aa220aa099dd62a36ec5b5232571 1 parent bdd7f8f
@slingamn slingamn authored
Showing with 5 additions and 7 deletions.
  1. +2 −1  .travis.yml
  2. +3 −6 Makefile
View
3  .travis.yml
@@ -4,7 +4,8 @@ python:
- 2.7
- 3.2
env: HTTPBIN_URL=http://httpbin.org/
-script: make simpleci
+script: make ci
install:
- pip install nose
+ - pip install gevent
- pip install . --use-mirrors
View
9 Makefile
@@ -13,15 +13,12 @@ lazy:
simple:
nosetests tests/test_requests.py
+ci:
+ find tests/ -name "*.py" ! -path "test_requests_ext.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
Please sign in to comment.
Something went wrong with that request. Please try again.