language: rust
sudo: false
rust:
  - nightly
  - beta
  - stable
  - 1.0.0
script:
  - if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then cargo test --features no_std; else ! cargo test --features no_std; fi
  - if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then cargo test --features const_fn; else ! cargo test --features const_fn; fi
  - if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then cargo test --features 'const_fn no_std'; else ! cargo test --features 'const_fn no_std'; fi
  - cargo test

language: rust
sudo: false
rust:
  - nightly
  - beta
  - stable
script:
  - if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then cargo test --features no_std; else ! cargo test --features no_std; fi
  - if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then cargo test --features const_fn; else ! cargo test --features const_fn; fi
  - if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then cargo test --features 'const_fn no_std'; else ! cargo test --features 'const_fn no_std'; fi
  - cargo test

Remove 1.0.0 from CI builds (doesn’t compile).
Remove 1.0.0 from CI builds (doesn’t compile).

mucell 0.3.0 added `T: ?Sized` to `MuCell<T>`, but that’s incompatible
with Rust 1.0 (`UnsafeCell<T>` only got `T: ?Sized` in 1.1) and I don’t
feel 1.0 compatibility to be valuable (1.1 is the stable release now).
