language: rust
sudo: false
cache: cargo
rust:
- nightly
- beta
- 1.12.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

language: rust
sudo: false
cache: cargo
rust:
- nightly
- beta
- 1.12.0
script:
- cargo clean
- (test $TRAVIS_RUST_VERSION != "nightly" || cargo test --manifest-path phf_macros/Cargo.toml --features unicase_support)
- cargo clean # otherwise compiletest complains about multiple matching crates
- (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

Fix compiletests by cleaning up build files beforehand
Fix compiletests by cleaning up build files beforehand
