move test requirements out of main requirements.txt

This commit is contained in:
Maximilian Hils 2014-01-28 03:21:59 +01:00
parent 7815b3fb41
commit ea894282f3
3 changed files with 6 additions and 4 deletions

View File

@ -3,10 +3,9 @@ python:
- "2.7" - "2.7"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: install:
- "pip install coveralls --use-mirrors"
- "pip install nose-cov --use-mirrors"
- "pip install --upgrade git+https://github.com/mitmproxy/netlib.git" - "pip install --upgrade git+https://github.com/mitmproxy/netlib.git"
- "pip install -r requirements.txt --use-mirrors" - "pip install -r requirements.txt --use-mirrors"
- "pip install -r test/requirements.txt --use-mirrors"
# command to run tests, e.g. python setup.py test # command to run tests, e.g. python setup.py test
script: script:
- "nosetests --with-cov --cov-report term-missing" - "nosetests --with-cov --cov-report term-missing"

View File

@ -3,8 +3,7 @@ Jinja2>=2.7.1
MarkupSafe>=0.18 MarkupSafe>=0.18
Werkzeug>=0.9.4 Werkzeug>=0.9.4
itsdangerous>=0.23 itsdangerous>=0.23
nose>=1.3.0
pyOpenSSL>=0.13.1 pyOpenSSL>=0.13.1
pyasn1>=0.1.7 pyasn1>=0.1.7
requests>=2.1.0 requests>=2.1.0
netlib>=0.10 netlib>=0.10

4
test/requirements.txt Normal file
View File

@ -0,0 +1,4 @@
mock>=1.0.1
nose>=1.3.0
nose-cov>=1.6
coveralls>=0.4.1