signal-hook 0.1.13

Unix signal handling
Documentation
language: rust
cache: cargo
rust:
    - 1.26.0
    - stable
    - beta
    - nightly
os:
    - windows
    - linux
    - osx

before_script:
    - |
      (travis_wait rustup component add rustfmt-preview || true) &&
      (test "$TRAVIS_RUST_VERSION" == 1.26.0 || travis_wait rustup component add clippy-preview || true)

script:
    - |
      export PATH="$PATH":~/.cargo/bin &&
      export RUST_BACKTRACE=1 &&
      export CARGO_INCREMENTAL=1 &&
      (test "$TRAVIS_RUST_VERSION" == 1.26.0 || rm -f Cargo.lock) &&
      cargo build --all &&
      cargo build --all --all-features &&
      (test "$TRAVIS_RUST_VERSION" == 1.26.0 || cargo test --all) &&
      (test "$TRAVIS_RUST_VERSION" == 1.26.0 || cargo test --all --all-features) &&
      cargo doc --no-deps &&
      (test "$TRAVIS_RUST_VERSION" == 1.26.0 || cargo clippy --all --tests -- --deny clippy::all) &&
      (test "$TRAVIS_RUST_VERSION" == 1.26.0 || cargo fmt)

matrix:
    allow_failures:
        - rust: nightly