25 lines
659 B
YAML
25 lines
659 B
YAML
language: python
|
|
|
|
install:
|
|
- "wget -q -O - http://apt.mopidy.com/mopidy.gpg | sudo apt-key add -"
|
|
- "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 flake8"
|
|
|
|
before_script:
|
|
- "rm $VIRTUAL_ENV/lib/python$TRAVIS_PYTHON_VERSION/no-global-site-packages.txt"
|
|
|
|
script:
|
|
- "flake8 $(find . -iname '*.py')"
|
|
- "nosetests"
|
|
|
|
notifications:
|
|
irc:
|
|
channels:
|
|
- "irc.freenode.org#mopidy"
|
|
on_success: change
|
|
on_failure: change
|
|
use_notice: true
|
|
skip_join: true
|