diff --git a/.travis.yml b/.travis.yml index f036981901a..50ba7b67e0b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,6 +35,10 @@ matrix: - cargo test - cargo doc --no-deps - (cd src/doc && mdbook build --dest-dir ../../target/doc) + # Make sure building cargo works with minimum dependency versions. + # Use a custom fork of the registry index for now because the main one + # is missing "links" entries. + - CARGO_REGISTRY_INDEX=https://github.com/klausi/crates.io-index cargo build -Z minimal-versions exclude: - rust: stable