modular-bitfield 0.10.0

Allows to easily define bitfield types with modular building blocks.
Documentation
language: rust
cache: cargo
dist: trusty
sudo: true

rust:
  - stable
  - beta
  - nightly

matrix:
  allow_failures:
    - rust: nightly

env:
  global:
  - RUSTFLAGS="-C link-dead-code"

# addons:
#   apt:
#     packages:
#       - libcurl4-openssl-dev
#       - libelf-dev
#       - libdw-dev
#       - binutils-dev
#       - libiberty-dev

# before_script:
# - |
#   cargo install cargo-kcov
#   if [ ! -x $HOME/.cargo/bin/kcov ] || [ ! -f $HOME/.cargo/bin/kcov ]; then
#     mkdir kcov
#     cd kcov
#     cargo kcov --print-install-kcov-sh | sh
#     cd ${TRAVIS_BUILD_DIR}
#     rm -rf kcov
#   fi

script:
- |
  cargo check &&
  cargo test &&
  # cargo test --benches && # Not available on stable, makes travis CI unhappy.
  cargo test --release
  # cargo kcov --verbose --coveralls &&
  # bash <(curl -s https://codecov.io/bash)