From 47794beb8fe01eefed311d236f96e6bf8740d080 Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Tue, 29 Jan 2019 08:52:07 -0800 Subject: [PATCH] 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. --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7968b1d0a48..ff4017ac3e4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -60,6 +60,9 @@ matrix: include: - rust: 1.22.0 env: DESCRIPTION="pinned stable Rust release" + os: + - linux + - osx script: # Differs from standard script: rand_pcg features - cargo test --lib --no-default-features @@ -77,6 +80,9 @@ matrix: - cargo test --manifest-path rand_jitter/Cargo.toml - cargo test --manifest-path rand_os/Cargo.toml + - rust: stable + env: DESCRIPTION="stable Rust release, linux" + - rust: stable env: DESCRIPTION="stable Rust release, macOS, iOS (cross-compile only)" os: osx @@ -104,6 +110,9 @@ matrix: env: DESCRIPTION="beta Rust release" - rust: nightly + os: + - linux + - osx env: DESCRIPTION="nightly features, benchmarks, documentation" install: - cargo --list | egrep "^\s*deadlinks$" -q || cargo install cargo-deadlinks