Skip to content

Commit

Permalink
Build crates with minimal versions in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorBreakfast committed Aug 10, 2018
1 parent f520c74 commit cab3b41
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,18 @@ matrix:
- cargo build --manifest-path futures-sink/Cargo.toml --all-features
- cargo build --manifest-path futures-util/Cargo.toml --all-features

- name: cargo build --all-features (with minimal versions)
rust: nightly
script:
- cargo update -Zminimal-versions
- cargo build --manifest-path futures/Cargo.toml --all-features
- cargo build --manifest-path futures-core/Cargo.toml --all-features
- cargo build --manifest-path futures-channel/Cargo.toml --all-features
- cargo build --manifest-path futures-executor/Cargo.toml --all-features
- cargo build --manifest-path futures-io/Cargo.toml --all-features
- cargo build --manifest-path futures-sink/Cargo.toml --all-features
- cargo build --manifest-path futures-util/Cargo.toml --all-features

- name: cargo build --target=thumbv6m-none-eabi
rust: nightly
install:
Expand Down
2 changes: 1 addition & 1 deletion futures-executor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ default = ["std"]
futures-core-preview = { path = "../futures-core", version = "0.3.0-alpha.2", default-features = false}
futures-util-preview = { path = "../futures-util", version = "0.3.0-alpha.2", default-features = false}
futures-channel-preview = { path = "../futures-channel", version = "0.3.0-alpha.2", default-features = false}
num_cpus = { version = "1.0", optional = true }
num_cpus = { version = "1.8.0", optional = true }
lazy_static = { version = "1.1.0", optional = true }
pin-utils = "0.1.0-alpha.1"

Expand Down

0 comments on commit cab3b41

Please sign in to comment.