Skip to content

Commit 9edc3b4

Browse files
committed
Change some travis jobs to be stable compatible
1 parent 5b19866 commit 9edc3b4

File tree

1 file changed

+19
-8
lines changed

1 file changed

+19
-8
lines changed

.travis.yml

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,12 @@ matrix:
4343
- cargo bench --all
4444
- cargo bench --manifest-path futures-util/Cargo.toml --features=bench
4545

46-
- name: cargo build --no-default-features
46+
- name: cargo +stable build --no-default-features
4747
rust: nightly
48+
env:
49+
- RUSTFLAGS="-Z allow-features="
4850
script:
51+
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
4952
- cargo build --manifest-path futures/Cargo.toml --no-default-features
5053
- cargo build --manifest-path futures-core/Cargo.toml --no-default-features
5154
- cargo build --manifest-path futures-channel/Cargo.toml --no-default-features
@@ -54,23 +57,31 @@ matrix:
5457
- cargo build --manifest-path futures-sink/Cargo.toml --no-default-features
5558
- cargo build --manifest-path futures-util/Cargo.toml --no-default-features
5659

57-
- name: cargo build (alloc)
60+
- name: cargo +stable build (alloc)
5861
rust: nightly
62+
env:
63+
- RUSTFLAGS="-Z allow-features="
5964
script:
60-
- cargo build --manifest-path futures/Cargo.toml --no-default-features --features alloc,nightly
61-
- cargo build --manifest-path futures-core/Cargo.toml --no-default-features --features alloc,nightly
62-
- cargo build --manifest-path futures-sink/Cargo.toml --no-default-features --features alloc,nightly
63-
- cargo build --manifest-path futures-util/Cargo.toml --no-default-features --features alloc,nightly
65+
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
66+
- cargo build --manifest-path futures/Cargo.toml --no-default-features --features alloc
67+
- cargo build --manifest-path futures-core/Cargo.toml --no-default-features --features alloc
68+
- cargo build --manifest-path futures-sink/Cargo.toml --no-default-features --features alloc
69+
- cargo build --manifest-path futures-util/Cargo.toml --no-default-features --features alloc
6470

65-
- name: cargo build (default features)
71+
- name: cargo +stable build (default features)
6672
rust: nightly
73+
env:
74+
- RUSTFLAGS="-Z allow-features="
6775
script:
6876
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
6977
- cargo build --all
7078

71-
- name: cargo build (compat feature)
79+
- name: cargo +stable build (compat feature)
7280
rust: nightly
81+
env:
82+
- RUSTFLAGS="-Z allow-features="
7383
script:
84+
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
7485
- cargo build --manifest-path futures/Cargo.toml --features io-compat
7586

7687
- name: cargo build --target=thumbv6m-none-eabi

0 commit comments

Comments
 (0)