mitmproxy/.travis.yml

71 lines
1.6 KiB
YAML
Raw Normal View History

sudo: false
2015-08-29 18:58:08 +00:00
language: python
matrix:
2015-08-29 18:58:08 +00:00
fast_finish: true
include:
2015-08-29 18:58:08 +00:00
- python: 2.7
- python: 2.7
env: OPENSSL=1.0.2
addons:
apt:
sources:
# Debian sid currently holds OpenSSL 1.0.2
# change this with future releases!
- debian-sid
packages:
- libssl-dev
2015-08-29 18:58:08 +00:00
- python: pypy
- python: pypy
env: OPENSSL=1.0.2
addons:
apt:
sources:
# Debian sid currently holds OpenSSL 1.0.2
# change this with future releases!
- debian-sid
packages:
- libssl-dev
2015-08-29 18:58:08 +00:00
allow_failures:
# We allow pypy to fail until Travis fixes their infrastructure to a pypy
# with a recent enought CFFI library to run cryptography 1.0+.
- python: pypy
install:
- "pip install --src . -r requirements.txt"
before_script:
- "openssl version -a"
script:
2015-09-28 12:16:06 +00:00
- "py.test --cov libpathod -v"
after_success:
- coveralls
notifications:
irc:
channels:
- "irc.oftc.net#mitmproxy"
on_success: change
on_failure: always
2015-06-23 01:55:25 +00:00
slack:
rooms:
- mitmproxy:YaDGC9Gt9TEM7o8zkC2OLNsu
2015-08-29 18:58:08 +00:00
on_success: change
2015-06-23 01:55:25 +00:00
on_failure: always
# exclude cryptography from cache
# it depends on libssl-dev version
# which needs to be compiled specifically to each version
before_cache:
- pip uninstall -y cryptography
cache:
directories:
2015-08-29 18:58:08 +00:00
- $HOME/.cache/pip
- /home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages
- /home/travis/virtualenv/python2.7.9/bin
- /home/travis/virtualenv/pypy-2.5.0/site-packages
2015-09-16 16:44:34 +00:00
- /home/travis/virtualenv/pypy-2.5.0/bin