Skip to content

Commit cab3b41

Browse files
Build crates with minimal versions in CI
1 parent f520c74 commit cab3b41

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.travis.yml

+12
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,18 @@ matrix:
4747
- cargo build --manifest-path futures-sink/Cargo.toml --all-features
4848
- cargo build --manifest-path futures-util/Cargo.toml --all-features
4949

50+
- name: cargo build --all-features (with minimal versions)
51+
rust: nightly
52+
script:
53+
- cargo update -Zminimal-versions
54+
- cargo build --manifest-path futures/Cargo.toml --all-features
55+
- cargo build --manifest-path futures-core/Cargo.toml --all-features
56+
- cargo build --manifest-path futures-channel/Cargo.toml --all-features
57+
- cargo build --manifest-path futures-executor/Cargo.toml --all-features
58+
- cargo build --manifest-path futures-io/Cargo.toml --all-features
59+
- cargo build --manifest-path futures-sink/Cargo.toml --all-features
60+
- cargo build --manifest-path futures-util/Cargo.toml --all-features
61+
5062
- name: cargo build --target=thumbv6m-none-eabi
5163
rust: nightly
5264
install:

futures-executor/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ default = ["std"]
2424
futures-core-preview = { path = "../futures-core", version = "0.3.0-alpha.2", default-features = false}
2525
futures-util-preview = { path = "../futures-util", version = "0.3.0-alpha.2", default-features = false}
2626
futures-channel-preview = { path = "../futures-channel", version = "0.3.0-alpha.2", default-features = false}
27-
num_cpus = { version = "1.0", optional = true }
27+
num_cpus = { version = "1.8.0", optional = true }
2828
lazy_static = { version = "1.1.0", optional = true }
2929
pin-utils = "0.1.0-alpha.1"
3030

0 commit comments

Comments
 (0)