Skip to content

Commit f4b11b6

Browse files
committed
Include new crate in CI tests
1 parent bb492b6 commit f4b11b6

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

.travis.yml

+14-7
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ matrix:
6868
- cargo test --features=serde1,log
6969
- cargo test --examples
7070
- cargo test --manifest-path rand_core/Cargo.toml
71-
- cargo test --manifest-path rand_core/Cargo.toml --no-default-features
71+
- cargo test --manifest-path rand_core/Cargo.toml --no-default-feature
72+
- cargo test --manifest-path rand_distr/Cargo.toml
7273
- cargo test --manifest-path rand_isaac/Cargo.toml --features=serde1
7374
# TODO: cannot test rand_pcg due to explicit dependency on i128
7475
- cargo test --manifest-path rand_xorshift/Cargo.toml --features=serde1
@@ -89,6 +90,7 @@ matrix:
8990
- cargo test --examples
9091
- cargo test --manifest-path rand_core/Cargo.toml
9192
- cargo test --manifest-path rand_core/Cargo.toml --no-default-features
93+
- cargo test --manifest-path rand_distr/Cargo.toml
9294
- cargo test --manifest-path rand_isaac/Cargo.toml --features=serde1
9395
# TODO: cannot test rand_pcg due to explicit dependency on i128
9496
- cargo test --manifest-path rand_xorshift/Cargo.toml --features=serde1
@@ -114,6 +116,7 @@ matrix:
114116
- cargo test --examples
115117
- cargo test --manifest-path rand_core/Cargo.toml
116118
- cargo test --manifest-path rand_core/Cargo.toml --no-default-features
119+
- cargo test --manifest-path rand_distr/Cargo.toml
117120
- cargo test --manifest-path rand_isaac/Cargo.toml --features=serde1
118121
- cargo test --manifest-path rand_pcg/Cargo.toml --features=serde1
119122
- cargo test --manifest-path rand_xorshift/Cargo.toml --features=serde1
@@ -143,6 +146,7 @@ matrix:
143146
- cargo test --examples
144147
- cargo test --manifest-path rand_core/Cargo.toml
145148
- cargo test --manifest-path rand_core/Cargo.toml --no-default-features --features=alloc
149+
- cargo test --manifest-path rand_distr/Cargo.toml
146150
- cargo test --manifest-path rand_isaac/Cargo.toml --features=serde1
147151
- cargo test --manifest-path rand_pcg/Cargo.toml --features=serde1
148152
- cargo test --manifest-path rand_xorshift/Cargo.toml --features=serde1
@@ -172,6 +176,7 @@ matrix:
172176
- cargo test --examples
173177
- cargo test --manifest-path rand_core/Cargo.toml
174178
- cargo test --manifest-path rand_core/Cargo.toml --no-default-features --features=alloc
179+
- cargo test --manifest-path rand_distr/Cargo.toml
175180
- cargo test --manifest-path rand_isaac/Cargo.toml --features=serde1
176181
- cargo test --manifest-path rand_pcg/Cargo.toml --features=serde1
177182
- cargo test --manifest-path rand_xorshift/Cargo.toml --features=serde1
@@ -223,12 +228,13 @@ matrix:
223228
- rustup target add x86_64-unknown-netbsd
224229
- rustup target add x86_64-unknown-redox
225230
script:
226-
- cargo build --target=x86_64-sun-solaris --all-features
227-
- cargo build --target=x86_64-unknown-cloudabi --all-features
228-
- cargo build --target=x86_64-unknown-freebsd --all-features
229-
#- cargo build --target=x86_64-unknown-fuchsia --all-features
230-
- cargo build --target=x86_64-unknown-netbsd --all-features
231-
- cargo build --target=x86_64-unknown-redox --all-features
231+
# Test all crates, and the top-level crate with all features:
232+
- cargo build --target=x86_64-sun-solaris --all --all-features
233+
- cargo build --target=x86_64-unknown-cloudabi --all --all-features
234+
- cargo build --target=x86_64-unknown-freebsd --all --all-features
235+
#- cargo build --target=x86_64-unknown-fuchsia --all --all-features
236+
- cargo build --target=x86_64-unknown-netbsd --all --all-features
237+
- cargo build --target=x86_64-unknown-redox --all --all-features
232238

233239
# Trust cross-built/emulated targets. We must repeat all non-default values.
234240
- rust: stable
@@ -263,6 +269,7 @@ script:
263269
- cargo test --examples
264270
- cargo test --manifest-path rand_core/Cargo.toml
265271
- cargo test --manifest-path rand_core/Cargo.toml --no-default-features
272+
- cargo test --manifest-path rand_distr/Cargo.toml
266273
- cargo test --manifest-path rand_isaac/Cargo.toml --features=serde1
267274
- cargo test --manifest-path rand_pcg/Cargo.toml --features=serde1
268275
- cargo test --manifest-path rand_xorshift/Cargo.toml --features=serde1

appveyor.yml

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ test_script:
3939
- cargo test --examples
4040
- cargo test --manifest-path rand_core/Cargo.toml
4141
- cargo test --manifest-path rand_core/Cargo.toml --no-default-features --features=alloc
42+
- cargo test --manifest-path rand_distr/Cargo.toml
4243
- cargo test --manifest-path rand_isaac/Cargo.toml --features=serde1
4344
- cargo test --manifest-path rand_pcg/Cargo.toml --features=serde1
4445
- cargo test --manifest-path rand_xorshift/Cargo.toml --features=serde1

utils/ci/script.sh

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ main() {
99
cross test --target $TARGET --examples
1010
cross test --target $TARGET --manifest-path rand_core/Cargo.toml
1111
cross test --target $TARGET --manifest-path rand_core/Cargo.toml --no-default-features
12+
cross test --target $TARGET --manifest-path rand_distr/Cargo.toml
1213
cross test --target $TARGET --manifest-path rand_isaac/Cargo.toml --features=serde1
1314
cross test --target $TARGET --manifest-path rand_pcg/Cargo.toml --features=serde1
1415
cross test --target $TARGET --manifest-path rand_xorshift/Cargo.toml --features=serde1

0 commit comments

Comments
 (0)