Skip to content

Commit

Permalink
Using nightly should not enable serde
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Mar 20, 2016
1 parent 3846572 commit 507caa0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ sudo: false
matrix:
include:
- rust: beta
env: FEATURES="serde"
- rust: nightly
env: FEATURES="--features nightly"
env: FEATURES="serde nightly"
script:
- cargo build $FEATURES
- cargo test $FEATURES
- cargo doc --no-deps $FEATURES
- cargo build --features "$FEATURES"
- cargo test --features "$FEATURES"
- cargo doc --no-deps --features "$FEATURES"
after_success: |
[ $TRAVIS_RUST_VERSION = nightly ] &&
[ $TRAVIS_BRANCH = master ] &&
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ keywords = ["data-structures"]
readme = "README.md"

[features]
nightly = ["serde"]
nightly = []

[dependencies]
serde = { optional = true, version = "^0.7" }
Expand Down

0 comments on commit 507caa0

Please sign in to comment.