Try to fix Travis build

This commit is contained in:
Rafał Harabień 2020-07-20 23:54:21 +02:00
parent bd73f8a770
commit 56a18cf054

View File

@ -7,6 +7,7 @@ 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 update -p log --precise 0.4.8 - cargo update -p log --precise 0.4.8
- cargo build --verbose - cargo build --verbose
@ -18,6 +19,7 @@ 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 byteorder --precise 1.2.7
- cargo update -p cfg-if --precise 0.1.9 - cargo update -p cfg-if --precise 0.1.9
- cargo update -p log --precise 0.4.8 - cargo update -p log --precise 0.4.8