Skip to content

Commit

Permalink
Re-enable cargo outdated test in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
ia0 committed Feb 2, 2021
1 parent 5a4b261 commit b51f7b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ bench_bin() {
}

test_outdated() {
which cargo-outdated >/dev/null || info_exec . cargo install cargo-outdated
# Use --locked to work around https://github.com/rust-lang/cargo/issues/9124
which cargo-outdated >/dev/null || info_exec . cargo install --locked cargo-outdated
# Workaround error: failed to parse lock file at: data-encoding/Cargo.lock
# Caused by: invalid serialized PackageId for key `package.dependencies`
info_exec . git clean -fxd
Expand All @@ -66,8 +67,7 @@ if [ -n "$TRAVIS_JOB_ID" ]; then
fi
test_bin
bench_bin
# TODO(https://github.com/rust-lang/cargo/issues/9124): Re-enable when fixed.
# test_outdated
test_outdated
if [ "$TRAVIS_RUST_VERSION" = stable ]; then
send_coverage || true
fi
Expand Down

0 comments on commit b51f7b7

Please sign in to comment.