@@ -37,15 +37,15 @@ sudo: false
3737# Tests run on rand:
3838# - test no_std support, but only the unit tests:
3939# `cargo test --tests --no-default-features`
40+ # - test no_std support, including the alloc feature:
41+ # cargo test --tests --no-default-features --features=alloc
4042# - run unit tests and doctests with all features which are available on stable:
4143# `cargo test --features=serde1,log`
4244# - test examples:
4345# `cargo test --examples`
4446# Additional tests on nightly:
4547# - run unit tests and doctests with all features which are available on nightly:
4648# `cargo test --all-features`
47- # - test no_std support, including the nightly alloc feature:
48- # cargo test --tests --no-default-features --features=alloc
4949# - run benchmarks as tests:
5050# `cargo test --benches --features=nightly`
5151# Tests on subcrates:
@@ -137,7 +137,7 @@ matrix:
137137 before_script :
138138 - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
139139 script :
140- # Differs from standard script: alloc feature, all features, doc build
140+ # Differs from standard script: all features, doc build
141141 - cargo test --tests --no-default-features --features=alloc
142142 - cargo test --all-features
143143 - cargo test --benches --features=nightly
@@ -167,7 +167,7 @@ matrix:
167167 - cargo --list | egrep "^\s*deadlinks$" -q || cargo install cargo-deadlinks
168168 - cargo deadlinks -V
169169 script :
170- # Differs from standard script: alloc feature, all features, doc build
170+ # Differs from standard script: all features, doc build
171171 - cargo test --tests --no-default-features --features=alloc
172172 - cargo test --all-features
173173 - cargo test --benches --features=nightly
@@ -276,11 +276,13 @@ before_install:
276276script :
277277 - cargo test --tests --no-default-features
278278 - cargo test --tests --no-default-features --features getrandom
279+ - cargo test --tests --no-default-features --features=alloc
279280 # TODO: add simd_support feature:
280281 - cargo test --features=serde1,log
281282 - cargo test --examples
282283 - cargo test --manifest-path rand_core/Cargo.toml
283284 - cargo test --manifest-path rand_core/Cargo.toml --no-default-features
285+ - cargo test --manifest-path rand_core/Cargo.toml --no-default-features --features=alloc
284286 - cargo test --manifest-path rand_distr/Cargo.toml
285287 - cargo test --manifest-path rand_isaac/Cargo.toml --features=serde1
286288 - cargo test --manifest-path rand_pcg/Cargo.toml --features=serde1
0 commit comments