2013-08-20 11:25:47 +00:00
|
|
|
language: python
|
2014-12-24 00:39:38 +00:00
|
|
|
sudo: false
|
2013-08-20 11:25:47 +00:00
|
|
|
python:
|
|
|
|
- "2.7"
|
2014-12-24 01:17:45 +00:00
|
|
|
- pypy
|
2015-01-14 19:44:59 +00:00
|
|
|
before_install:
|
|
|
|
- "sudo apt-get install -y xclip"
|
2013-08-20 11:25:47 +00:00
|
|
|
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
|
2014-09-08 22:15:06 +00:00
|
|
|
install:
|
2014-12-24 01:17:45 +00:00
|
|
|
- "pip install --upgrade --src . -r requirements.txt"
|
2013-08-20 11:25:47 +00:00
|
|
|
# command to run tests, e.g. python setup.py test
|
2013-08-25 01:45:32 +00:00
|
|
|
script:
|
2013-08-25 02:31:35 +00:00
|
|
|
- "nosetests --with-cov --cov-report term-missing"
|
2013-08-25 01:45:32 +00:00
|
|
|
after_success:
|
2014-01-22 00:33:02 +00:00
|
|
|
- coveralls
|
2014-01-28 01:52:41 +00:00
|
|
|
notifications:
|
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "irc.oftc.net#mitmproxy"
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
2014-12-24 00:56:46 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
2014-12-24 01:32:34 +00:00
|
|
|
- /home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages
|
2014-12-24 14:34:58 +00:00
|
|
|
- /home/travis/virtualenv/pypy-2.4.0/site-packages
|