mpd 0.0.12

A client library for MPD (music player daemon), like libmpdclient but in Rust
Documentation
sudo: required
language: rust
cache: cargo
addons:
  apt:
    packages:
      - libcurl4-openssl-dev
      - libelf-dev
      - libdw-dev
      - binutils-dev
rust:
  - stable
  - nightly-2017-02-05
env:
  global:
    # override the default `--features unstable` used for the nightly branch
    - TRAVIS_CARGO_NIGHTLY_FEATURE=""
    # Version of clippy known to work with pinned nightly.
    - CLIPPY_VERSION=0.0.113
before_script:
  - sudo apt-get update -qq
  - sudo apt-get install -y mpd
    # Stop mpd service to ensure we use the test-started ones.
  - sudo /etc/init.d/mpd stop
  - /usr/bin/mpd --version
  - export PATH=$HOME/.cargo/bin:$HOME/.local/bin:$PATH
  - |
    pip install 'travis-cargo<0.2' --user &&
    travis-cargo --only nightly install -- --force clippy --vers CLIPPY_VERSION
  - |
    cargo install --force rustfmt
script:
  - |
    RUSTFLAGS=-Dwarnings travis-cargo build &&
    travis-cargo test
  - |
    cargo fmt -- --write-mode diff
  - |
    travis-cargo --only nightly clippy
  - |
    travis-cargo --only stable doc
after_success:
  - travis-cargo coveralls --no-sudo --verify