Skip to content

Commit

Permalink
Fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
ia0 committed Nov 7, 2020
1 parent 71a3c84 commit 7fefb4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test_lib() {
}

bench_lib() {
info_exec cargo lib bench --verbose
info_exec lib cargo bench --verbose
}

test_nostd() {
Expand All @@ -40,15 +40,15 @@ bench_bin() {
}

test_outdated() {
which cargo-outdated >/dev/null || info_exec cargo install cargo-outdated
which cargo-outdated >/dev/null || info_exec . cargo install 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
info_exec cargo outdated -w -R --exit-code=1
info_exec . cargo outdated -w -R --exit-code=1
}

send_coverage() {
which cargo-tarpaulin >/dev/null || info_exec cargo install cargo-tarpaulin
which cargo-tarpaulin >/dev/null || info_exec . cargo install cargo-tarpaulin
info_exec . git clean -fxd
# We have to give an explicit list of --exclude-files due to
# https://github.com/xd009642/tarpaulin/issues/394
Expand Down

0 comments on commit 7fefb4a

Please sign in to comment.