Fix cargo-audit in Travis script
@@ -93,7 +93,9 @@ script: |
case "$FEATURE" in
"fmt" )
- cargo audit &&
+ cd exonum && cargo update && cd .. &&
+ cd sandbox && cargo update && cd .. &&
+ cd exonum && cargo audit && cd .. &&
cd exonum && cargo fmt -- --write-mode=diff && cd .. &&
cd sandbox && cargo fmt -- --write-mode=diff && cd ..
;;
@@ -113,6 +115,7 @@ script: |
cargo test --manifest-path sandbox/Cargo.toml --verbose --doc -- --test-threads=2
;;
"non-fatal-checks" )
+ cd exonum &&
cargo doc --no-deps -p exonum &&
cargo deadlinks --dir target/doc
;;
