scopeguard 0.3.3

A RAII scope guard that will run a given closure when it goes out of scope, even if the code between panics (assuming unwinding panic). Defines the macros `defer!` and `defer_on_unwind!`; the latter only runs if the scope is extited through unwinding on panic.
Documentation
language: rust
sudo: false

rust:
  - 1.11.0
  - stable
  - beta
  - nightly

branches:
  only:
    - master

# the main build
script:
  - |
      cargo build --no-default-features &&
      cargo build &&
      ([ "$TRAVIS_RUST_VERSION" != "1.11.0" ] && cargo test ) || cargo test --lib