Skip to content

Commit

Permalink
Change some travis jobs to be stable compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemo157 committed Apr 25, 2019
1 parent b432c41 commit 7a698c9
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,12 @@ matrix:
- cargo bench --all
- cargo bench --manifest-path futures-util/Cargo.toml --features=bench

- name: cargo build --no-default-features
- name: cargo +stable build --no-default-features
rust: nightly
env:
- RUSTFLAGS="-Z allow-features="
script:
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
- cargo build --manifest-path futures/Cargo.toml --no-default-features
- cargo build --manifest-path futures-core/Cargo.toml --no-default-features
- cargo build --manifest-path futures-channel/Cargo.toml --no-default-features
Expand All @@ -54,23 +57,31 @@ matrix:
- cargo build --manifest-path futures-sink/Cargo.toml --no-default-features
- cargo build --manifest-path futures-util/Cargo.toml --no-default-features

- name: cargo build (alloc)
- name: cargo +stable build (alloc)
rust: nightly
env:
- RUSTFLAGS="-Z allow-features="
script:
- cargo build --manifest-path futures/Cargo.toml --no-default-features --features alloc,nightly
- cargo build --manifest-path futures-core/Cargo.toml --no-default-features --features alloc,nightly
- cargo build --manifest-path futures-sink/Cargo.toml --no-default-features --features alloc,nightly
- cargo build --manifest-path futures-util/Cargo.toml --no-default-features --features alloc,nightly
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
- cargo build --manifest-path futures/Cargo.toml --no-default-features --features alloc
- cargo build --manifest-path futures-core/Cargo.toml --no-default-features --features alloc
- cargo build --manifest-path futures-sink/Cargo.toml --no-default-features --features alloc
- cargo build --manifest-path futures-util/Cargo.toml --no-default-features --features alloc

- name: cargo build (default features)
- name: cargo +stable build (default features)
rust: nightly
env:
- RUSTFLAGS="-Z allow-features="
script:
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
- cargo build --all

- name: cargo build (compat feature)
- name: cargo +stable build (compat feature)
rust: nightly
env:
- RUSTFLAGS="-Z allow-features="
script:
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
- cargo build --manifest-path futures/Cargo.toml --features io-compat

- name: cargo build --target=thumbv6m-none-eabi
Expand Down

0 comments on commit 7a698c9

Please sign in to comment.