mopidy/.travis.yml
Stein Magnus Jodal 16a76d4ea5 travis: Manually install python-dbus
Now used by GObject eventloop registration, Zeroconf integration, and keyring
integration.
2013-11-20 22:53:23 +01:00

30 lines
846 B
YAML

language: python
install:
- "wget -O - http://apt.mopidy.com/mopidy.gpg | sudo apt-key add -"
- "sudo wget -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|python:any/ {print $2}')"
# Until the mopidy package gets a dependency on python-dbus
- "sudo apt-get install python-dbus"
- "pip install coveralls flake8"
before_script:
- "rm $VIRTUAL_ENV/lib/python$TRAVIS_PYTHON_VERSION/no-global-site-packages.txt"
script:
- "flake8 $(find . -iname '*.py')"
- "nosetests --with-coverage --cover-package=mopidy"
after_success:
- "coveralls"
notifications:
irc:
channels:
- "irc.freenode.org#mopidy"
on_success: change
on_failure: change
use_notice: true
skip_join: true