language: rust
sudo: false
rust:
  - nightly
env:
  matrix:
  - FEATURES=""
  - FEATURES="unstable"
script: |
  cargo build --verbose --features "${FEATURES}"
  cargo test --verbose --features "${FEATURES}"

language: rust
sudo: false
rust:
  - beta
  - nightly
matrix:
  include:
    rust: nightly
    env:
      - FEATURES="pattern"
script: |
  cargo build --verbose --features "${FEATURES}"
  cargo test --verbose --features "${FEATURES}"

Test in beta Rust, extra features in nightly
Test in beta Rust, extra features in nightly
