[tor-commits] [bridgedb/develop] Create TravisCI build matrix for testing dependency versions.
isis at torproject.org
isis at torproject.org
Fri Jun 6 20:40:38 UTC 2014
commit 86b02570461415236e7a8dc86335ec0e82ecdb6d
Author: Isis Lovecruft <isis at torproject.org>
Date: Wed May 21 01:54:54 2014 +0000
Create TravisCI build matrix for testing dependency versions.
---
.travis.requirements.txt | 9 +++++++++
.travis.yml | 36 ++++++++++++++++++++++++++++--------
2 files changed, 37 insertions(+), 8 deletions(-)
diff --git a/.travis.requirements.txt b/.travis.requirements.txt
new file mode 100644
index 0000000..e018631
--- /dev/null
+++ b/.travis.requirements.txt
@@ -0,0 +1,9 @@
+Babel==0.9.6
+BeautifulSoup==3.2.1
+Mako==0.8.1
+https://ipaddr-py.googlecode.com/files/ipaddr-2.1.10.tar.gz#sha1=c608450b077b19773d4f1b5f1ef88b26f6650ce0#egg=ipaddr-2.1.10-py2.7
+pycrypto==2.6.1
+pygeoip==0.2.7
+pygpgme==0.3
+recaptcha-client==1.0.6
+zope.interface==3.6.1
diff --git a/.travis.yml b/.travis.yml
index 7c0429e..1338608 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,11 +4,11 @@ notifications:
irc:
channels:
- "irc.oftc.net#tor-bots"
+ template:
+ - "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
+ - "Build details : %{build_url}"
on_success: always
on_failure: always
- template:
- - "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
- - "Build details : %{build_url}"
email:
recipients:
- isis at torproject.org
@@ -16,20 +16,40 @@ notifications:
on_success: never
on_failure: change
+python:
+ - "2.7"
+ - "pypy"
+
addons:
hosts:
- bridges.torproject.org
+env:
+ global:
+ - LEEKSPIN_VERSION=0.1.3
+ - COVERAGE_VERSION=3.7.1
+ - COVERALLS_VERSION=0.4.2
+ - SURE_VERSION=1.2.2
+ matrix:
+ - TWISTED_VERSION=13.2.0 PYOPENSSL_VERSION=0.13.1
+
+matrix:
+ include:
+ - python: "2.7"
+ env: TWISTED_VERSION=14.0.0 PYOPENSSL_VERSION=0.14
+ allow_failures:
+ - python: "pypy"
+ fast_finish: true
+
before_install:
- sudo apt-get update
-python:
- - "2.7"
-
install:
- sudo apt-get install -qq --no-install-suggests --no-install-recommends build-essential openssl sqlite3 libgpgme11 libgpgme11-dev python-dev python-setuptools
- - pip install -q -r requirements.txt
- - pip install --no-use-wheel leekspin==0.1.3 coverage==3.7.1 coveralls==0.4.2 sure==1.2.2
+ - pip install -q -r .travis.requirements.txt
+ - pip install -q --no-use-wheel leekspin==$LEEKSPIN_VERSION sure==$SURE_VERSION
+ - pip install -q --no-use-wheel coverage==$COVERAGE_VERSION coveralls==$COVERALLS_VERSION
+ - pip install -q --no-use-wheel Twisted==$TWISTED_VERSION pyOpenSSL==$PYOPENSSL_VERSION
- make install
script:
More information about the tor-commits
mailing list