commit 959c49b027d8c71e511a23bb095fdc371bed8bf8 Author: Arturo Filastò art@fuffa.org Date: Thu Sep 18 10:53:36 2014 +0200
Add tests to verify if ooniprobe will work with the various versions of Twisted we are supposed to support. --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml index 400176d..99bb48f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,9 @@ language: python +env: + - TWISTED=Twisted==12.2 + - TWISTED=Twisted==12.3 + - TWISTED=Twisted==13.2 + - TWISTED=Twisted==14.0 before_install: - sudo apt-get install tor libpcap-dev libgeoip-dev libdumbnet-dev - sudo /etc/init.d/tor start @@ -7,10 +12,9 @@ python: # command to install dependencies # the first is for testing pip and the second for setuptools install: + - pip install $TWISTED pyOpenSSL coveralls - pip install https://github.com/hellais/pydnet/archive/master.zip - - python -c 'import dnet; print dnet.__file__' - pip install pyrex-real - - pip install coveralls - pip install -r requirements.txt - pip install -r requirements-dev.txt - python setup.py install