diff options
Diffstat (limited to 'ci/script.sh')
-rw-r--r-- | ci/script.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ci/script.sh b/ci/script.sh index c9a9c050..7743b8ba 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -102,8 +102,18 @@ main() { if [ $TARGET = thumbv6m-none-eabi ]; then cargo check --target $T --examples + + # Check examples with specific features not compatible with MSRV + if [[ $TRAVIS_RUST_VERSION != 1.*.* ]]; then + cargo check --target $T --examples --features __min_r1_43 + fi else cargo check --target $T --examples --features __v7 + + # Check examples with specific features not compatible with MSRV + if [[ $TRAVIS_RUST_VERSION != 1.*.* ]]; then + cargo check --target $T --examples --features __v7,__min_r1_43 + fi fi cargo check -p homogeneous --target $T --examples |