rust-fatfs/.travis.yml
Rafał Harabień 44d01bb164 Work around no_std build failure in travis
Issue is caused by core_io crate requiring very old rustc which is not
compatible with byteorder create since version 1.3.
In crates depending on fatfs byteorder version can be overriden in
their Cargo.toml file.
2019-06-20 02:13:59 +02:00

25 lines
740 B
YAML

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