rust-openttd-admin 0.2.0

A library to receive and parse OpenTTD admin packets.
Documentation
language: rust

sudo: required

rust:
  - stable
  - beta
  - nightly

matrix:
  allow_failures:
    - rust: nightly

# Dependencies of kcov, used by coverage
addons:
  apt:
    packages:
      - libcurl4-openssl-dev
      - libelf-dev
      - libdw-dev
      - binutils-dev
      - cmake
    sources:
      - kalakris-cmake

before_script:
  - export PATH=$HOME/.cargo/bin:$PATH
  - cargo install cargo-update || echo "cargo-update already installed"
  - cargo install cargo-travis || echo "cargo-travis already installed"
  - cargo install-update -a # update outdated cached binaries

# the main build
script:
  - |
      rustc -vV &&
      cargo -vV &&
      cargo build &&
      cargo test &&
      cargo doc

after_success:
  # measure code coverage and upload to coveralls.io
  - cargo coveralls