Skip to content

Commit fc981c7

Browse files
taiki-ecramertj
authored andcommitted
ci: Update CI config to build async-await feature on beta
1 parent 4c45dfa commit fc981c7

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

.travis.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ matrix:
2020
- cargo build --all
2121
- cargo build --manifest-path futures/Cargo.toml --features io-compat
2222

23+
# This is the minimum Rust version supported by `async-await` feature.
24+
# When updating this, the reminder to update the minimum required version of `async-await` feature in README.md.
25+
- name: cargo build --features async-await (minimum required version)
26+
rust: beta # 1.39.0
27+
script:
28+
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
29+
- cargo build --all --features async-await
30+
2331
- name: cargo +stable build
2432
rust: stable
2533
script:
@@ -31,18 +39,11 @@ matrix:
3139
- name: cargo +beta build
3240
rust: beta
3341
script:
34-
# default features & compat feature
42+
# default features & compat feature & async-await feature
3543
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
3644
- cargo build --all
3745
- cargo build --manifest-path futures/Cargo.toml --features io-compat
38-
39-
# This is the minimum Rust version supported by `async-await` feature.
40-
# When updating this, the reminder to update the minimum required version of `async-await` feature in README.md.
41-
- name: cargo +nightly build (minimum required version)
42-
rust: nightly-2019-08-21
43-
script:
44-
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
45-
- cargo build --all --all-features
46+
- cargo build --manifest-path futures/Cargo.toml --features async-await
4647

4748
- name: cargo test
4849
rust: nightly

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ The `async-await` feature provides several convenient features using async/await
6565
futures-preview = { version = "=0.3.0-alpha.19", features = ["async-await"] }
6666
```
6767

68-
The current `async-await` feature requires Rust nightly 2019-08-21 or later.
68+
The current `async-await` feature requires Rust 1.39 or later.
6969

7070
# License
7171

0 commit comments

Comments
 (0)