File tree Expand file tree Collapse file tree 7 files changed +503
-156
lines changed Expand file tree Collapse file tree 7 files changed +503
-156
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,14 @@ sudo: false
3
3
matrix :
4
4
include :
5
5
- rust : beta
6
+ env : FEATURES="serde_impl"
6
7
- rust : nightly
7
- env : FEATURES="--features nightly"
8
+ env : FEATURES="serde_impl nightly clippy"
9
+ - rust : stable
8
10
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"
12
14
after_success : |
13
15
[ $TRAVIS_RUST_VERSION = nightly ] &&
14
16
[ $TRAVIS_BRANCH = master ] &&
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
3
3
name = " linked-hash-map"
4
- version = " 0.0.8 "
4
+ version = " 0.4.0 "
5
5
license = " MIT/Apache-2.0"
6
6
description = " A HashMap wrapper that holds key-value pairs in insertion order"
7
7
authors = [
@@ -17,3 +17,9 @@ readme = "README.md"
17
17
18
18
[features ]
19
19
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 }
Original file line number Diff line number Diff line change @@ -10,11 +10,9 @@ git init
10
10
git config user.email ' FlashCat@users.noreply.github.com'
11
11
git config user.name ' FlashCat'
12
12
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
15
13
16
14
touch .
17
15
18
16
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
You can’t perform that action at this time.
0 commit comments