rust-fatfs/.travis.yml
Rafał Harabień 0676e40b25 Try to fix CI for old rustc versions by pinning cfg-if to 0.1.9
This should fix error: non-ident macro paths are experimental (see issue #35896)
2019-11-11 00:09:02 +01:00

30 lines
1020 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 update && cargo update -p cfg-if --precise 0.1.9
- 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 && 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
script:
- cargo build --no-default-features --features core_io
- cargo build --no-default-features --features core_io,alloc
allow_failures:
- rust: nightly