os: linux
dist: trusty

before_install:
    - sudo apt-get -qq update
    - sudo apt-get install -y libdbus-glib-1-dev

language: python
python: "3.4"

branches:
    only: master

env:
    matrix:
        - TASK=lint
        - TASK=fmt-travis

script: make -f Makefile $TASK

os: linux
dist: trusty

before_install:
    - sudo apt-get -qq update
    - sudo apt-get install -y libdbus-glib-1-dev

language: python
python: "3.4"

branches:
    only: master

matrix:
    allow_failures:
        - env: TASK=lint
    include:
        - env: TASK=lint
        - env: TASK=fmt-travis

script: make -f Makefile $TASK

Allow lint task to fail
Allow lint task to fail

It requires dbus-python which has increased the version of dbus-1 which
it depends on from 1.6 to 1.8.  Travis's version of Ubuntu does not
currently supply that version.

Signed-off-by: mulhern <7b51bcf507bcd7afb72bf8663752c0ddbeb517f6@redhat.com>
