commit 19d00c22aa4dbdcfef7add3a42847a5f0558fd7e Author: Isis Lovecruft isis@torproject.org Date: Fri Apr 19 23:36:24 2013 +0000
Install tor keyring in .travis.yml and use deb.tpo for Tor install.
* Change pip's package index command to be in the requirements.txt file. --- .travis.yml | 11 ++++++----- requirements.txt | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/.travis.yml b/.travis.yml index 1a2509f..ba72972 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,16 @@ language: python before_install: - - sudo apt-get install build-essential python-dev python-setuptools tor - #- curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py - #- sudo python ./get-pip.py - #- sudo update-alternatives --install /usr/bin/pip pip /usr/local/bin/pip 0 + - echo "deb http://deb.torproject.org/torproject.org wheezy main" | sudo tee -a /etc/apt/sources.list + - gpg --keyserver keys.gnupg.net --recv 886DDD89 + - gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add - + - sudo apt-get update + - sudo apt-get install deb.torproject.org-keyring tor tor-geoipdb build-essential python-dev python-setuptools python: - "3.3" - "2.7" - "2.6" install: - - pip install -i "https://pypi.python.org/packages/" --use-mirrors -r requirements.txt + - pip install --use-mirrors -r requirements.txt - python setup.py install # command to run tests, e.g. python setup.py test script: diff --git a/requirements.txt b/requirements.txt index de420b0..32965fa 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ +-i https://pypi.python.org/packages https://pypi.python.org/packages/source/P/PyYAML/PyYAML-3.10.tar.gz#md5=74c9... https://pypi.python.org/packages/source/T/Twisted/Twisted-13.0.0.tar.bz2#md5... -https://twistedmatrix.com/Releases/Names/13.0/TwistedNames-13.0.0.tar.bz2#md... https://pypi.python.org/packages/source/c/cyclone/cyclone-1.1.tar.gz#md5=477... https://ipaddr-py.googlecode.com/files/ipaddr-2.1.10.tar.gz#sha1=c608450b077... https://pypi.python.org/packages/source/p/pygeoip/pygeoip-0.2.6.zip#md5=b3ac...
tor-commits@lists.torproject.org