Add build variants with feature trace, fix build for those variants.
This commit is contained in:
parent
93ac105fbe
commit
a8a00555b5
2 changed files with 9 additions and 7 deletions
|
|
@ -1,12 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
# A simple build script to run locally.
|
||||
# A simple build script to run locally before pushing.
|
||||
|
||||
for tc in stable beta nightly; do
|
||||
for tc in nightly stable beta; do
|
||||
echo "Toolchain: ${tc}";
|
||||
rustup toolchain update ${tc};
|
||||
cargo +${tc} test --verbose;
|
||||
cargo +${tc} test --verbose --no-default-features;
|
||||
cargo +${tc} test --verbose --features=trace;
|
||||
cargo +${tc} doc --verbose;
|
||||
done
|
||||
|
|
|
|||
|
|
@ -6,4 +6,5 @@ set -x
|
|||
|
||||
cargo test --verbose;
|
||||
cargo test --verbose --no-default-features;
|
||||
cargo test --verbose --no-default-features --features=trace;
|
||||
cargo doc --verbose;
|
||||
|
|
|
|||
Loading…
Reference in a new issue