From d942cabd82e49ca9f2477a0ec9c5d9dc723eaccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Harabie=C5=84?= Date: Mon, 20 Jul 2020 23:49:59 +0200 Subject: [PATCH] Fix Rust 1.24 build in Travis by fixing log version --- .travis.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 25fe654..ce346bd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,8 +7,9 @@ matrix: - rust: 1.24.0 script: # Build only the library (examples may fail) - - cargo update && cargo update -p cfg-if --precise 0.1.9 - - cargo build + - cargo update -p cfg-if --precise 0.1.9 + - cargo update -p log --precise 0.4.8 + - cargo build --verbose - rust: stable - rust: beta - rust: nightly @@ -17,13 +18,14 @@ matrix: # nostd build # byteorder crate version is configured here to fix build in old nightly compiler # 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 build --no-default-features --features core_io - - cargo build --no-default-features --features core_io,alloc + - cargo update -p byteorder --precise 1.2.7 + - cargo update -p cfg-if --precise 0.1.9 + - cargo build --verbose --no-default-features --features core_io + - cargo build --verbose --no-default-features --features core_io,alloc - rust: nightly-2019-07-01 script: - - cargo build --no-default-features --features core_io - - 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 allow_failures: - rust: nightly