Skip to content

Commit 7744d47

Browse files
committed
Skip doctests for README.md on 1.18.0
rustdoc --test with 1.18.0 is running tests twice, which leads to a race condition where the second test run might fail if the first test run deletes the shared record. See rust-lang/rust#42726.
1 parent fd745c2 commit 7744d47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ before_script:
2020
script:
2121
- rm -rf target/debug/deps/*aerospike*
2222
- cargo build
23-
- cargo test
24-
- rustdoc -L target/debug/deps/ --test README.md
23+
- cargo test --verbose
24+
- [ $TRAVIS_RUST_VERSION != "1.18.0" ] && rustdoc -L target/debug/deps/ --test README.md
2525
after_script:
2626
- tail -n +1 aerospike-server/instance?/var/log/aerospike.log
2727
notifications:

0 commit comments

Comments
 (0)