mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-01 06:10:07 -04:00
travis: freeze dependencies that silently broke 1.24.1 compat (#701)
This commit is contained in:
committed by
Francesca Plebani
parent
917db35a84
commit
2c3e420f82
11
.travis.yml
11
.travis.yml
@@ -63,6 +63,17 @@ install:
|
|||||||
- rustup self update
|
- rustup self update
|
||||||
- rustup target add $TARGET; true
|
- rustup target add $TARGET; true
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- |
|
||||||
|
if [ "$TRAVIS_RUST_VERSION" == "1.24.1" ]; then
|
||||||
|
# Some of winit's transitive dependencies have made semver-compatible releases that actually
|
||||||
|
# break their compatibility with rust 1.24.1. We freeze them to their last compatible version to
|
||||||
|
# ensure that winit still compiles fine on this rust version.
|
||||||
|
cargo update
|
||||||
|
cargo update -p stb_truetype --precise 0.2.2
|
||||||
|
cargo update -p rusttype --precise 0.7.1
|
||||||
|
fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cargo build --target $TARGET --verbose
|
- cargo build --target $TARGET --verbose
|
||||||
- cargo build --target $TARGET --features serde --verbose
|
- cargo build --target $TARGET --features serde --verbose
|
||||||
|
|||||||
Reference in New Issue
Block a user