Skip to content

Commit dc9a4f0

Browse files
committed
Reset build directory between tests
This fixes: error[E0464]: multiple matching crates for `indoc` --> tests/ui-stable/no-arguments.rs:10:1 | 10 | extern crate indoc; | ^^^^^^^^^^^^^^^^^^^ | = note: candidates: crate `indoc`: target/debug/deps/libindoc-71f336784875944c.rlib crate `indoc`: target/debug/deps/libindoc-865d3d42afd5a45d.rlib error[E0463]: can't find crate for `indoc`
1 parent 156885c commit dc9a4f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@ matrix:
1313

1414
script:
1515
- cargo build --features "${FEATURES:-}" --verbose
16+
- cargo clean
1617
- cargo test --features "${FEATURES:-}" --verbose
18+
- cargo clean
1719
- cargo test --features "${TEST_FEATURES:-}" --manifest-path tests/Cargo.toml --verbose

0 commit comments

Comments
 (0)