language: rust
sudo: false
matrix:
  include:
    - rust: stable
    - rust: nightly
    - rust: nightly
      env:
       - FEATURES='unstable qc'
       - BENCH=1
script:
  - |
      cargo build --verbose --features "$FEATURES"
      cargo test --verbose --features "$FEATURES"
      [ "$BENCH" != 1 ] || cargo bench --verbose --features "$FEATURES"
      cargo doc --verbose --features "$FEATURES"

language: rust
sudo: false
matrix:
  include:
    - rust: stable
    - rust: nightly
  allow_failures:
    - rust: nightly
      env:
       - FEATURES='unstable qc'
       - BENCH=1
script:
  - |
      cargo build --verbose --features "$FEATURES"
      cargo test --verbose --features "$FEATURES"
      [ "$BENCH" != 1 ] || cargo bench --verbose --features "$FEATURES"
      cargo doc --verbose --features "$FEATURES"

Allow failures for unstable & quickcheck build
Travis: Allow failures for unstable & quickcheck build
