add travis CI file & requirements.txt

This commit is contained in:
Maximilian Hils 2013-12-16 03:58:46 +01:00
parent c4e6d7aea6
commit 34f5f5a5c1
2 changed files with 24 additions and 0 deletions

14
.travis.yml Normal file
View File

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

10
requirements.txt Normal file
View File

@ -0,0 +1,10 @@
Flask>=0.10.1
Jinja2>=2.7.1
MarkupSafe>=0.18
Werkzeug>=0.9.4
itsdangerous>=0.23
nose>=1.3.0
pyOpenSSL>=0.13.1
pyasn1>=0.1.7
requests>=2.1.0
netlib>=0.9.2