http: Add pip requirements file. Make Travis use it.

This commit is contained in:
Stein Magnus Jodal 2012-11-10 21:30:11 +01:00
parent 86e0eff21d
commit 90ca6a786a
2 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@ install:
- "sudo wget -q -O /etc/apt/sources.list.d/mopidy.list http://apt.mopidy.com/mopidy.list"
- "sudo apt-get update || true"
- "sudo apt-get install $(apt-cache depends mopidy | awk '$2 !~ /mopidy/ {print $2}')"
- "pip install -r requirements/http.txt" # Until ws4py is packaged as a .deb
before_script:
- "rm $VIRTUAL_ENV/lib/python$TRAVIS_PYTHON_VERSION/no-global-site-packages.txt"

2
requirements/http.txt Normal file
View File

@ -0,0 +1,2 @@
cherrypy >= 3.2.2
ws4py >= 0.2.3