diff options
-rwxr-xr-x | cortex-m-rt/ci/script.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cortex-m-rt/ci/script.sh b/cortex-m-rt/ci/script.sh index eea81b8..08ff863 100755 --- a/cortex-m-rt/ci/script.sh +++ b/cortex-m-rt/ci/script.sh @@ -41,7 +41,10 @@ main() { "" ) if [ "$TARGET" != x86_64-unknown-linux-gnu ]; then - RUSTDOCFLAGS="-Cpanic=abort" cargo test --doc + # Only test on stable and nightly, not MSRV. + if [ "$TRAVIS_RUST_VERSION" = stable ] || [ "$TRAVIS_RUST_VERSION" = nightly ]; then + RUSTDOCFLAGS="-Cpanic=abort" cargo test --doc + fi for linker in "${linkers[@]}"; do for ex in "${examples[@]}"; do |