Skip to content
Browse files

ci: fix failing mdbook tests

  • Loading branch information...
benesch committed Mar 19, 2019
1 parent 707aaf6 commit 6b3cfb4b9ef2b1ee486a5fec418286c8a57d11ae
Showing with 5 additions and 1 deletion.
  1. +5 −1 .travis.yml
@@ -6,10 +6,14 @@ install:
- pip install --user ghp-import
- cargo build
# rustdoc doesn't build dependencies, so it needs to run after `cargo build`,
# but its dependency search gets confused if there are multiple copies of any
# dependency in target/debug/deps, so it needs to run before `cargo test` et al.
# clutter target/debug/deps with multiple copies of things.
- for file in $(find mdbook -name '*.md'); do rustdoc --test $file -L ./target/debug/deps; done
- cargo test
- cargo bench
- cargo doc
- for file in $(find mdbook -name '*.md'); do rustdoc --test $file -L ./target/debug/deps; done
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&

0 comments on commit 6b3cfb4

Please sign in to comment.
You can’t perform that action at this time.