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 mopidy"
  - "pip install coveralls flake8 mopidy==dev python-dateutil"

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_radio_de"

after_success:
  - "coveralls"

notifications:
  email:
    recipients:
      - ronald.hecht@gmx.de
    on_success: change
    on_failure: change
    use_notice: true
    skip_join: true

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 mopidy"
  - "pip install --allow-unverified=mopidy coveralls flake8 mopidy==dev python-dateutil"

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_radio_de"

after_success:
  - "coveralls"

notifications:
  email:
    recipients:
      - ronald.hecht@gmx.de
    on_success: change
    on_failure: change
    use_notice: true
    skip_join: true

Fix Travis CI build error caused by an updated pip on their servers.
Fix Travis CI build error caused by an updated pip on their servers.
