Skip to content

Commit ac5ecb4

Browse files
committed
Merge branch master into reem:carllerche-entry_iter
Conflicts: src/lib.rs
2 parents 884fdfb + 4202182 commit ac5ecb4

File tree

7 files changed

+503
-156
lines changed

7 files changed

+503
-156
lines changed

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ sudo: false
33
matrix:
44
include:
55
- rust: beta
6+
env: FEATURES="serde_impl"
67
- rust: nightly
7-
env: FEATURES="--features nightly"
8+
env: FEATURES="serde_impl nightly clippy"
9+
- rust: stable
810
script:
9-
- cargo build $FEATURES
10-
- cargo test $FEATURES
11-
- cargo doc --no-deps $FEATURES
11+
- cargo build --features "$FEATURES"
12+
- cargo test --features "$FEATURES"
13+
- cargo doc --no-deps --features "$FEATURES"
1214
after_success: |
1315
[ $TRAVIS_RUST_VERSION = nightly ] &&
1416
[ $TRAVIS_BRANCH = master ] &&

Cargo.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "linked-hash-map"
4-
version = "0.0.8"
4+
version = "0.4.0"
55
license = "MIT/Apache-2.0"
66
description = "A HashMap wrapper that holds key-value pairs in insertion order"
77
authors = [
@@ -17,3 +17,9 @@ readme = "README.md"
1717

1818
[features]
1919
nightly = []
20+
serde_impl = ["serde", "serde_test"]
21+
22+
[dependencies]
23+
clippy = { version = "0.*", optional = true }
24+
serde = { version = "0.9", optional = true }
25+
serde_test = { version = "0.9", optional = true }

deploy-docs.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@ git init
1010
git config user.email 'FlashCat@users.noreply.github.com'
1111
git config user.name 'FlashCat'
1212
git remote add upstream "https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git"
13-
git fetch upstream gh-pages
14-
git reset upstream/gh-pages
1513

1614
touch .
1715

1816
git add -A .
19-
git commit -m "rebuild pages at ${rev}"
20-
git push -q upstream HEAD:gh-pages
17+
git commit -qm "rebuild pages at ${rev}"
18+
git push -q upstream HEAD:gh-pages --force

0 commit comments

Comments
 (0)