Skip to content

Commit

Permalink
Add minimal versions check to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Mar 10, 2019
1 parent 73081c0 commit 6f6264e
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ matrix:
script: ./ci/crossbeam-utils.sh

# Check for duplicate dependencies.
- rust: stable
- rust: nightly
name: "dependency tree check"
script: ./ci/dependencies.sh

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ nightly = ["crossbeam-epoch/nightly", "crossbeam-utils/nightly"]
std = ["crossbeam-epoch/std", "crossbeam-utils/std"]

[dependencies]
cfg-if = "0.1"
cfg-if = "0.1.2"

[dependencies.crossbeam-channel]
version = "0.3.7"
Expand Down
5 changes: 5 additions & 0 deletions ci/dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,9 @@ cargo tree
cargo tree --duplicate
cargo tree --duplicate || exit 1

# Check minimal versions.
cargo update -Zminimal-versions
cargo check --all --all-features --bins
cargo tree

exit 0
2 changes: 1 addition & 1 deletion crossbeam-channel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ keywords = ["channel", "mpmc", "select", "golang", "message"]
categories = ["algorithms", "concurrency", "data-structures"]

[dependencies]
smallvec = "0.6.2"
smallvec = "0.6.9"

[dependencies.crossbeam-utils]
version = "0.6.5"
Expand Down
2 changes: 1 addition & 1 deletion crossbeam-epoch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ std = ["crossbeam-utils/std", "lazy_static"]
sanitize = [] # Makes it more likely to trigger any potential data races.

[dependencies]
cfg-if = "0.1"
cfg-if = "0.1.2"
memoffset = "0.2"

[dependencies.arrayvec]
Expand Down
2 changes: 1 addition & 1 deletion crossbeam-skiplist/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ nightly = ["crossbeam-epoch/nightly", "crossbeam-utils/nightly"]
std = ["crossbeam-epoch/std", "crossbeam-utils/std"]

[dependencies]
cfg-if = "0.1"
cfg-if = "0.1.2"

[dependencies.crossbeam-epoch]
version = "0.7"
Expand Down
2 changes: 1 addition & 1 deletion crossbeam-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ nightly = []
std = ["lazy_static"]

[dependencies]
cfg-if = "0.1"
cfg-if = "0.1.2"
lazy_static = { version = "1.1.0", optional = true }

[dev-dependencies]
Expand Down

0 comments on commit 6f6264e

Please sign in to comment.