Skip to content

Commit

Permalink
Fix travis build for Mopidy v2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
kingosticks committed Jun 14, 2016
1 parent 76b3269 commit 9e9f0e1
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .travis.yml
@@ -1,26 +1,24 @@
sudo: false
sudo: required
dist: trusty

language: python

python:
- "2.7_with_system_site_packages"

addons:
apt:
sources:
- mopidy-stable
packages:
- mopidy

env:
- TOX_ENV=py27
- TOX_ENV=flake8

before_install:
- "sudo apt-get update -qq"
- "sudo apt-get install -y gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 python-gst-1.0"

install:
- "pip install tox"

script:
- "tox -e $TOX_ENV"

after_success:
- "if [ $TOX_ENV == 'py27' ]; then pip install --pre coveralls; coveralls; fi"
- "if [ $TOX_ENV == 'py27' ]; then pip install coveralls; coveralls; fi"

0 comments on commit 9e9f0e1

Please sign in to comment.