Skip to content

Commit 36b3c4a

Browse files
taiki-ecramertj
authored andcommitted
Update CI config to build on stable
1 parent db1bafb commit 36b3c4a

File tree

1 file changed

+21
-15
lines changed

1 file changed

+21
-15
lines changed

.travis.yml

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,28 @@ matrix:
1313
# This is the minimum Rust version supported by futures-rs.
1414
# When updating this, the reminder to update the minimum required version in README.md.
1515
- name: cargo build (minimum required version)
16-
rust: beta # 1.36.0
16+
rust: 1.36.0
1717
script:
18+
# default features & compat feature
1819
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
1920
- cargo build --all
21+
- cargo build --manifest-path futures/Cargo.toml --features io-compat
22+
23+
- name: cargo +stable build
24+
rust: stable
25+
script:
26+
# default features & compat feature
27+
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
28+
- cargo build --all
29+
- cargo build --manifest-path futures/Cargo.toml --features io-compat
30+
31+
- name: cargo +beta build
32+
rust: stable
33+
script:
34+
# default features & compat feature
35+
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
36+
- cargo build --all
37+
- cargo build --manifest-path futures/Cargo.toml --features io-compat
2038

2139
# This is the minimum Rust version supported by `async-await` feature.
2240
# When updating this, the reminder to update the minimum required version of `async-await` feature in README.md.
@@ -58,7 +76,7 @@ matrix:
5876
- cargo bench --manifest-path futures-util/Cargo.toml --features=bench
5977

6078
- name: cargo +stable build --no-default-features
61-
rust: beta
79+
rust: stable
6280
script:
6381
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
6482
- cargo build --manifest-path futures/Cargo.toml --no-default-features
@@ -70,26 +88,14 @@ matrix:
7088
- cargo build --manifest-path futures-util/Cargo.toml --no-default-features
7189

7290
- name: cargo +stable build (alloc)
73-
rust: beta
91+
rust: stable
7492
script:
7593
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
7694
- cargo build --manifest-path futures/Cargo.toml --no-default-features --features alloc
7795
- cargo build --manifest-path futures-core/Cargo.toml --no-default-features --features alloc
7896
- cargo build --manifest-path futures-sink/Cargo.toml --no-default-features --features alloc
7997
- cargo build --manifest-path futures-util/Cargo.toml --no-default-features --features alloc
8098

81-
- name: cargo +stable build (default features)
82-
rust: beta
83-
script:
84-
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
85-
- cargo build --all
86-
87-
- name: cargo +stable build (compat feature)
88-
rust: beta
89-
script:
90-
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
91-
- cargo build --manifest-path futures/Cargo.toml --features io-compat
92-
9399
- name: cargo build --target=thumbv6m-none-eabi
94100
rust: nightly
95101
install:

0 commit comments

Comments
 (0)