Skip to content

Commit 47794be

Browse files
committed
Run travis tests for 1.22.0 osx, stable on linux, nightly on osx
Travis supports building on osx, but we aren't running the tests in a few configurations, like OSX with rust 1.22.0, native linux on stable, and OSX on nightly. This adds testers for these situations to make sure that bugs like #720 don't slip into the system again.
1 parent 11f51cb commit 47794be

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.travis.yml

+9
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ matrix:
6060
include:
6161
- rust: 1.22.0
6262
env: DESCRIPTION="pinned stable Rust release"
63+
os:
64+
- linux
65+
- osx
6366
script:
6467
# Differs from standard script: rand_pcg features
6568
- cargo test --lib --no-default-features
@@ -77,6 +80,9 @@ matrix:
7780
- cargo test --manifest-path rand_jitter/Cargo.toml
7881
- cargo test --manifest-path rand_os/Cargo.toml
7982

83+
- rust: stable
84+
env: DESCRIPTION="stable Rust release, linux"
85+
8086
- rust: stable
8187
env: DESCRIPTION="stable Rust release, macOS, iOS (cross-compile only)"
8288
os: osx
@@ -104,6 +110,9 @@ matrix:
104110
env: DESCRIPTION="beta Rust release"
105111

106112
- rust: nightly
113+
os:
114+
- linux
115+
- osx
107116
env: DESCRIPTION="nightly features, benchmarks, documentation"
108117
install:
109118
- cargo --list | egrep "^\s*deadlinks$" -q || cargo install cargo-deadlinks

0 commit comments

Comments
 (0)