.travis.yml 639 B

123456789101112131415161718192021222324252627282930
  1. language: python
  2. python:
  3. - "2.7_with_system_site_packages"
  4. env:
  5. - TOX_ENV=py27
  6. - TOX_ENV=flake8
  7. install:
  8. - "wget -O - http://apt.mopidy.com/mopidy.gpg | sudo apt-key add -"
  9. - "sudo wget -O /etc/apt/sources.list.d/mopidy.list http://apt.mopidy.com/mopidy.list"
  10. - "sudo apt-get update || true"
  11. - "sudo apt-get install mopidy"
  12. - "sudo apt-get install python-pygame"
  13. - "pip install tox"
  14. script:
  15. - "tox -e $TOX_ENV"
  16. after_success:
  17. - "if [ $TOX_ENV == 'py27' ]; then pip install coveralls; coveralls; fi"
  18. notifications:
  19. email:
  20. recipients:
  21. - 9and3r@gmail.com
  22. on_success: change
  23. on_failure: change