2017-09-27 20:21:01 +08:00
|
|
|
language: rust
|
2018-10-06 23:37:48 +08:00
|
|
|
env:
|
|
|
|
- RUST_LOG=warn RUST_BACKTRACE=1
|
2017-09-27 20:21:01 +08:00
|
|
|
matrix:
|
2018-06-05 04:35:15 +08:00
|
|
|
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
|
2019-06-20 08:13:59 +08:00
|
|
|
# byteorder crate version is configured here to fix build in old nightly compiler
|
|
|
|
# See: https://github.com/BurntSushi/byteorder/pull/150
|
2019-06-20 08:41:08 +08:00
|
|
|
- cargo update && cargo update -p byteorder --precise 1.2.7
|
2018-06-05 04:35:15 +08:00
|
|
|
- cargo build --no-default-features --features core_io
|
2019-07-18 01:13:15 +08:00
|
|
|
- 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
|
2018-06-05 04:35:15 +08:00
|
|
|
|
2017-09-27 20:21:01 +08:00
|
|
|
allow_failures:
|
|
|
|
- rust: nightly
|