Skip to content
This repository was archived by the owner on Jan 24, 2022. It is now read-only.

Commit 83c38f0

Browse files
committed
Only run tests on stable and nightly, not MSRV.
1 parent cfbab3f commit 83c38f0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ci/script.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ main() {
4141
""
4242
)
4343
if [ "$TARGET" != x86_64-unknown-linux-gnu ]; then
44-
RUSTDOCFLAGS="-Cpanic=abort" cargo test --doc
44+
# Only test on stable and nightly, not MSRV.
45+
if [ "$TRAVIS_RUST_VERSION" = stable ] || [ "$TRAVIS_RUST_VERSION" = nightly ]; then
46+
RUSTDOCFLAGS="-Cpanic=abort" cargo test --doc
47+
fi
4548

4649
for linker in "${linkers[@]}"; do
4750
for ex in "${examples[@]}"; do

0 commit comments

Comments
 (0)