diff --git a/.travis.yml b/.travis.yml index fc06716..25fe654 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,7 @@ 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 - rust: stable - rust: beta @@ -16,7 +17,7 @@ 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 && 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 - rust: nightly-2019-07-01