Fix Rust 1.24 build in Travis by fixing log version

This commit is contained in:
Rafał Harabień 2020-07-20 23:49:59 +02:00
parent 0a4850fb33
commit d942cabd82

View File

@ -7,8 +7,9 @@ matrix:
- rust: 1.24.0 - rust: 1.24.0
script: script:
# Build only the library (examples may fail) # Build only the library (examples may fail)
- cargo update && cargo update -p cfg-if --precise 0.1.9 - cargo update -p cfg-if --precise 0.1.9
- cargo build - cargo update -p log --precise 0.4.8
- cargo build --verbose
- rust: stable - rust: stable
- rust: beta - rust: beta
- rust: nightly - rust: nightly
@ -17,13 +18,14 @@ matrix:
# nostd build # nostd build
# byteorder crate version is configured here to fix build in old nightly compiler # byteorder crate version is configured here to fix build in old nightly compiler
# See: https://github.com/BurntSushi/byteorder/pull/150 # See: https://github.com/BurntSushi/byteorder/pull/150
- cargo update && cargo update -p byteorder --precise 1.2.7 && cargo update -p cfg-if --precise 0.1.9 - cargo update -p byteorder --precise 1.2.7
- cargo build --no-default-features --features core_io - cargo update -p cfg-if --precise 0.1.9
- cargo build --no-default-features --features core_io,alloc - cargo build --verbose --no-default-features --features core_io
- cargo build --verbose --no-default-features --features core_io,alloc
- rust: nightly-2019-07-01 - rust: nightly-2019-07-01
script: script:
- cargo build --no-default-features --features core_io - cargo build --verbose --no-default-features --features core_io
- cargo build --no-default-features --features core_io,alloc - cargo build --verbose --no-default-features --features core_io,alloc
allow_failures: allow_failures:
- rust: nightly - rust: nightly