Skip to content

Run travis tests for 1.22.0 osx, stable on linux, nightly on osx #721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 11, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -104,6 +110,9 @@ matrix:
env: DESCRIPTION="beta Rust release"

- rust: nightly
os:
- linux
- osx
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could cause a problem: it does a doc-upload at the end. Perhaps you can prefix that:

test "$TRAVIS_OS_NAME" = "linux" && travis-cargo --only nightly doc-upload

env: DESCRIPTION="nightly features, benchmarks, documentation"
install:
- cargo --list | egrep "^\s*deadlinks$" -q || cargo install cargo-deadlinks
Expand Down