Bump nodrop to 0.1.6 and no_std enable

This commit is contained in:
bluss
2016-02-06 19:49:27 +01:00
parent 98a2dc52b1
commit e7ce808b37
3 changed files with 17 additions and 9 deletions
+10 -6
View File
@@ -4,8 +4,11 @@ matrix:
include:
- rust: 1.2.0
- rust: stable
env:
- NODEFAULT=1
- rust: beta
- rust: nightly
- NODEFAULT=1
- rust: nightly
env:
- NODROP_FEATURES='no_drop_flag use_needs_drop'
@@ -14,10 +17,11 @@ branches:
- master
script:
- |
[ -z "$NODROP_FEATURES" ] && cargo build --verbose --features "$FEATURES"
[ -z "$NODROP_FEATURES" ] && cargo test --verbose --features "$FEATURES"
[ -z "$NODROP_FEATURES" ] && cargo test --release --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"
([ -z "$NODROP_FEATURES" ] && cargo build --verbose --features "$FEATURES") &&
([ -z "$NODROP_FEATURES" ] && cargo test --verbose --features "$FEATURES") &&
([ -z "$NODROP_FEATURES" ] && cargo test --release --verbose --features "$FEATURES") &&
([ -z "$NODROP_FEATURES" ] && cargo bench --verbose --features "$FEATURES" -- --test) &&
([ -z "$NODROP_FEATURES" ] && cargo doc --verbose --features "$FEATURES") &&
([ "$NODEFAULT" = 1 ] && cargo build --verbose --manifest-path=nodrop/Cargo.toml --no-default-features) &&
cargo test --verbose --manifest-path=nodrop/Cargo.toml --features "$NODROP_FEATURES" &&
cargo bench --verbose --manifest-path=nodrop/Cargo.toml --features "$NODROP_FEATURES" -- --test