language: rust
sudo: false
cache: cargo
rust:
- nightly
- beta
- 1.11.0
script:
- (test $TRAVIS_RUST_VERSION != "nightly" || cargo test --manifest-path phf_macros/Cargo.toml --features unicase_support)
- (test $TRAVIS_RUST_VERSION != "nightly" || cargo test --manifest-path phf_macros/Cargo.toml)
- (test $TRAVIS_RUST_VERSION != "nightly" || cargo bench --manifest-path phf_macros/Cargo.toml)
- (test $TRAVIS_RUST_VERSION != "nightly" || cargo build --manifest-path phf/Cargo.toml --features core)
- cargo test --manifest-path phf_codegen/Cargo.toml
- cargo test --manifest-path phf_codegen/test/Cargo.toml

language: rust
sudo: false
cache: cargo
rust:
- nightly
- beta
- 1.11.0
script:
- cargo clean
- (test $TRAVIS_RUST_VERSION != "nightly" || cargo test --manifest-path phf_macros/Cargo.toml --features unicase_support)
- (test $TRAVIS_RUST_VERSION != "nightly" || cargo test --manifest-path phf_macros/Cargo.toml)
- (test $TRAVIS_RUST_VERSION != "nightly" || cargo bench --manifest-path phf_macros/Cargo.toml)
- (test $TRAVIS_RUST_VERSION != "nightly" || cargo build --manifest-path phf/Cargo.toml --features core)
- cargo test --manifest-path phf_codegen/Cargo.toml
- cargo test --manifest-path phf_codegen/test/Cargo.toml

Clean at the start of builds
Clean at the start of builds

This a bummer but we end up with two copies of crates otherwise and it
confuses compiletest
