mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-27 03:56:33 +11:00
travis: freeze dependencies that silently broke 1.24.1 compat (#701)
This commit is contained in:
parent
917db35a84
commit
2c3e420f82
1 changed files with 11 additions and 0 deletions
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue