mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
update .travis.yml
This commit is contained in:
parent
2d0d240abc
commit
29b355c469
43
.travis.yml
43
.travis.yml
@ -1,13 +1,10 @@
|
|||||||
|
sudo: false
|
||||||
language: python
|
language: python
|
||||||
|
|
||||||
sudo: false
|
|
||||||
|
|
||||||
python:
|
|
||||||
- "2.7"
|
|
||||||
# - pypy # disable until TravisCI ships a PyPy version which works with the latest CFFI
|
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
|
fast_finish: true
|
||||||
include:
|
include:
|
||||||
|
- python: 2.7
|
||||||
- python: 2.7
|
- python: 2.7
|
||||||
env: OPENSSL=1.0.2
|
env: OPENSSL=1.0.2
|
||||||
addons:
|
addons:
|
||||||
@ -18,16 +15,21 @@ matrix:
|
|||||||
- debian-sid
|
- debian-sid
|
||||||
packages:
|
packages:
|
||||||
- libssl-dev
|
- libssl-dev
|
||||||
# - python: pypy
|
- python: pypy
|
||||||
# env: OPENSSL=1.0.2
|
- python: pypy
|
||||||
# addons:
|
env: OPENSSL=1.0.2
|
||||||
# apt:
|
addons:
|
||||||
# sources:
|
apt:
|
||||||
# # Debian sid currently holds OpenSSL 1.0.2
|
sources:
|
||||||
# # change this with future releases!
|
# Debian sid currently holds OpenSSL 1.0.2
|
||||||
# - debian-sid
|
# change this with future releases!
|
||||||
# packages:
|
- debian-sid
|
||||||
# - libssl-dev
|
packages:
|
||||||
|
- libssl-dev
|
||||||
|
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:
|
install:
|
||||||
- "pip install --src . -r requirements.txt"
|
- "pip install --src . -r requirements.txt"
|
||||||
@ -50,7 +52,7 @@ notifications:
|
|||||||
slack:
|
slack:
|
||||||
rooms:
|
rooms:
|
||||||
- mitmproxy:YaDGC9Gt9TEM7o8zkC2OLNsu
|
- mitmproxy:YaDGC9Gt9TEM7o8zkC2OLNsu
|
||||||
on_success: :change
|
on_success: change
|
||||||
on_failure: always
|
on_failure: always
|
||||||
|
|
||||||
# exclude cryptography from cache
|
# exclude cryptography from cache
|
||||||
@ -58,14 +60,11 @@ notifications:
|
|||||||
# which needs to be compiled specifically to each version
|
# which needs to be compiled specifically to each version
|
||||||
before_cache:
|
before_cache:
|
||||||
- pip uninstall -y cryptography
|
- pip uninstall -y cryptography
|
||||||
- rm -rf /home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/cryptography/
|
|
||||||
- rm -rf /home/travis/virtualenv/pypy-2.5.0/site-packages/cryptography/
|
|
||||||
- rm /home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/contrib/pyopenssl.py
|
|
||||||
- rm /home/travis/virtualenv/pypy-2.5.0/site-packages/pip/_vendor/requests/packages/urllib3/contrib/pyopenssl.py
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
|
- $HOME/.cache/pip
|
||||||
- /home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages
|
- /home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages
|
||||||
- /home/travis/virtualenv/python2.7.9/bin
|
- /home/travis/virtualenv/python2.7.9/bin
|
||||||
- /home/travis/virtualenv/pypy-2.5.0/site-packages
|
- /home/travis/virtualenv/pypy-2.5.0/site-packages
|
||||||
- /home/travis/virtualenv/pypy-2.5.0/bin
|
- /home/travis/virtualenv/pypy-2.5.0/bin
|
Loading…
Reference in New Issue
Block a user