language: rust env: - RUST_LOG=warn RUST_BACKTRACE=1 matrix: include: # Minimal supported rustc version - rust: 1.24.0 script: # Build only the library (examples may fail) - cargo build - rust: stable - rust: beta - rust: nightly - rust: nightly-2018-03-07 script: # 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 -p byteorder --precise 1.2.7 - cargo build --no-default-features --features core_io - cargo build --no-default-features --features core_io,alloc,core_io/collections allow_failures: - rust: nightly