nodrop: Add no_drop_flag optional feature

This commit is contained in:
root
2015-05-26 17:05:42 +02:00
parent 07e497a2be
commit 09cf5168f9
3 changed files with 40 additions and 14 deletions
+9 -6
View File
@@ -4,11 +4,14 @@ matrix:
include:
- rust: stable
- rust: nightly
- rust: nightly
env:
- NODROP_FEATURES='no_drop_flag'
script:
- |
cargo build --verbose --features "$FEATURES"
cargo test --verbose --features "$FEATURES"
cargo test --verbose --manifest-path=nodrop/Cargo.toml
cargo bench --verbose --features "$FEATURES" -- --test
cargo bench --verbose --manifest-path=nodrop/Cargo.toml -- --test
cargo doc --verbose --features "$FEATURES"
[ -z "$NODROP_FEATURES" ] && cargo build --verbose --features "$FEATURES"
[ -z "$NODROP_FEATURES" ] && cargo test --verbose --features "$FEATURES"
[ -z "$NODROP_FEATURES" ] && cargo bench --verbose --features "$FEATURES" -- --test
[ -z "$NODROP_FEATURES" ] && cargo doc --verbose --features "$FEATURES"
cargo test --verbose --manifest-path=nodrop/Cargo.toml --features "$NODROP_FEATURES"
cargo bench --verbose --manifest-path=nodrop/Cargo.toml --features "$NODROP_FEATURES" -- --test