language: rust
sudo: false

# run builds for all the trains (and more)
rust:
- 1.10.0
- 1.11.0
- stable
- beta
- nightly

before_script:
- |
    pip install 'travis-cargo<0.2' --user &&
    export PATH=$HOME/.local/bin:$PATH

script:
- |
    travis-cargo build -- --features with-syntex &&
    travis-cargo test -- --features with-syntex &&
    travis-cargo bench -- --features with-syntex &&
    travis-cargo --only nightly build &&
    travis-cargo --only nightly test -- --features unstable-testing &&
    travis-cargo --only nightly bench &&
    travis-cargo --only stable doc -- --features with-syntex

env:
  global:
    # override the default `--features unstable` used for the nightly branch (optional)
    - TRAVIS_CARGO_NIGHTLY_FEATURE=""

language: rust
sudo: false

# run builds for all the trains (and more)
rust:
- 1.11.0
- 1.12.0
- stable
- beta
- nightly

before_script:
- |
    pip install 'travis-cargo<0.2' --user &&
    export PATH=$HOME/.local/bin:$PATH

script:
- |
    travis-cargo build -- --features with-syntex &&
    travis-cargo test -- --features with-syntex &&
    travis-cargo bench -- --features with-syntex &&
    travis-cargo --only nightly build &&
    travis-cargo --only nightly test -- --features unstable-testing &&
    travis-cargo --only nightly bench &&
    travis-cargo --only stable doc -- --features with-syntex

env:
  global:
    # override the default `--features unstable` used for the nightly branch (optional)
    - TRAVIS_CARGO_NIGHTLY_FEATURE=""

Stop testing on Rust 1.10
Stop testing on Rust 1.10
