Skip to content

Commit ad54aeb

Browse files
committed
MAINT: update .travis
1 parent 0d30097 commit ad54aeb

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

.travis.yml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,27 @@ env:
44
- FEATURES='serde-1'
55
matrix:
66
include:
7-
- rust: 1.14.0
7+
- rust: 1.21.0
88
- rust: stable
99
env:
1010
- NODEFAULT=1
11-
- NODROP_FEATURES='use_needs_drop'
1211
- rust: beta
1312
- rust: nightly
1413
env:
1514
- NODEFAULT=1
1615
- rust: nightly
17-
env:
18-
- NODROP_FEATURES='use_needs_drop'
1916
- rust: nightly
2017
env:
21-
- FEATURES='serde use_union'
22-
- NODROP_FEATURES='use_union'
18+
- FEATURES='serde'
2319
branches:
2420
only:
2521
- master
2622
- 0.3
2723
script:
2824
- |
29-
([ ! -z "$NODROP_FEATURES" ] || cargo build --verbose --features "$FEATURES") &&
25+
cargo build --verbose --features "$FEATURES" &&
3026
([ "$NODEFAULT" != 1 ] || cargo build --verbose --no-default-features) &&
31-
([ ! -z "$NODROP_FEATURES" ] || cargo test --verbose --features "$FEATURES") &&
32-
([ ! -z "$NODROP_FEATURES" ] || cargo test --release --verbose --features "$FEATURES") &&
33-
([ ! -z "$NODROP_FEATURES" ] || cargo bench --verbose --features "$FEATURES" -- --test) &&
34-
([ ! -z "$NODROP_FEATURES" ] || cargo doc --verbose --features "$FEATURES") &&
35-
([ "$NODEFAULT" != 1 ] || cargo build --verbose --manifest-path=nodrop/Cargo.toml --no-default-features) &&
36-
cargo test --verbose --manifest-path=nodrop/Cargo.toml --features "$NODROP_FEATURES" &&
37-
cargo bench --verbose --manifest-path=nodrop/Cargo.toml --features "$NODROP_FEATURES" -- --test
27+
cargo test --verbose --features "$FEATURES" &&
28+
cargo test --release --verbose --features "$FEATURES" &&
29+
cargo bench --verbose --features "$FEATURES" -- --test &&
30+
cargo doc --verbose --features "$FEATURES"

0 commit comments

Comments
 (0)