2013-12-13 05:15:32 +00:00
|
|
|
language: python
|
2015-02-07 00:43:25 +00:00
|
|
|
sudo: false
|
2013-12-13 05:15:32 +00:00
|
|
|
python:
|
|
|
|
- "2.7"
|
2015-02-07 00:43:25 +00:00
|
|
|
- pypy
|
2013-12-13 05:15:32 +00:00
|
|
|
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
|
2015-02-07 00:43:25 +00:00
|
|
|
install:
|
|
|
|
- "pip install --src . -r requirements.txt"
|
2013-12-13 05:15:32 +00:00
|
|
|
# command to run tests, e.g. python setup.py test
|
2015-05-27 09:34:14 +00:00
|
|
|
script:
|
2013-12-13 05:15:32 +00:00
|
|
|
- "nosetests --with-cov --cov-report term-missing"
|
2015-05-29 09:22:31 +00:00
|
|
|
- "./check_coding_style.sh"
|
2015-05-27 09:34:14 +00:00
|
|
|
after_success:
|
2014-01-28 01:22:01 +00:00
|
|
|
- coveralls
|
2014-01-28 02:13:31 +00:00
|
|
|
notifications:
|
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "irc.oftc.net#mitmproxy"
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
2015-02-07 00:43:25 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- /home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages
|
2015-02-27 21:27:23 +00:00
|
|
|
- /home/travis/virtualenv/python2.7.9/bin
|
|
|
|
- /home/travis/virtualenv/pypy-2.5.0/site-packages
|
2015-05-27 09:34:14 +00:00
|
|
|
- /home/travis/virtualenv/pypy-2.5.0/bin
|