Skip to content

Commit 1949748

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

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.travis.yml

+18
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ matrix:
1212
- name: cargo test
1313
os: linux
1414

15+
- name: cargo test (with minimal versions)
16+
os: linux
17+
script:
18+
- cargo update -Zminimal-versions
19+
- cargo test
20+
1521
- name: cargo clippy
1622
rust: nightly
1723
install:
@@ -47,6 +53,18 @@ matrix:
4753
- cargo build --manifest-path futures-sink/Cargo.toml --all-features
4854
- cargo build --manifest-path futures-util/Cargo.toml --all-features
4955

56+
- name: cargo build --all-features (with minimal versions)
57+
rust: nightly
58+
script:
59+
- cargo update -Zminimal-versions
60+
- cargo build --manifest-path futures/Cargo.toml --all-features
61+
- cargo build --manifest-path futures-core/Cargo.toml --all-features
62+
- cargo build --manifest-path futures-channel/Cargo.toml --all-features
63+
- cargo build --manifest-path futures-executor/Cargo.toml --all-features
64+
- cargo build --manifest-path futures-io/Cargo.toml --all-features
65+
- cargo build --manifest-path futures-sink/Cargo.toml --all-features
66+
- cargo build --manifest-path futures-util/Cargo.toml --all-features
67+
5068
- name: cargo build --target=thumbv6m-none-eabi
5169
rust: nightly
5270
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)