forked from M-Labs/rust-fatfs
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
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 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
|
|
- 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 update -p cfg-if --precise 0.1.9
|
|
- cargo update -p log --precise 0.4.8
|
|
- 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 --verbose --no-default-features --features core_io
|
|
- cargo build --verbose --no-default-features --features core_io,alloc
|
|
|
|
allow_failures:
|
|
- rust: nightly
|