sudo: required
os: linux
dist: trusty
group: edge

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

language: rust

matrix:
    include:
        - rust: stable
          env: TASK=fmt
        - rust: stable
          env: TASK=build
        - rust: stable
          env: TASK=docs
        - rust: stable
          env: TASK=test
        - rust: stable
          env: TASK=test-loop
        - rust: nightly
          env: TASK=clippy

branches:
    only: master

script: make -f Makefile $TASK

sudo: required
os: linux
dist: trusty
group: edge

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

language: rust

matrix:
    allow_failures:
        - env: TASK=clippy
    include:
        - rust: stable
          env: TASK=fmt
        - rust: stable
          env: TASK=build
        - rust: stable
          env: TASK=docs
        - rust: stable
          env: TASK=test
        - rust: stable
          env: TASK=test-loop
        - rust: nightly
          env: TASK=clippy

branches:
    only: master

script: make -f Makefile $TASK

Allow failures for the clippy test
Allow failures for the clippy test

Some of the are a bit deeper than others and may need to be addressed
over the longer term.

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