Skip to content

Commit

Permalink
build macOS on bors branches only
Browse files Browse the repository at this point in the history
Clippy is portable enough. It is rare to see Clippy builds' broke
on *nix OSes. Testing macOS build on auto and try branch is
enough.
  • Loading branch information
tesuji committed Nov 7, 2019
1 parent 7531a08 commit 80effca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ matrix:
fast_finish: true
include:
# Builds that are executed for every PR
- os: osx # run base tests on both platforms
- os: linux
- os: windows
env: CARGO_INCREMENTAL=0 OS_WINDOWS=true
Expand All @@ -56,6 +55,8 @@ matrix:
# We don't want to run these always because they go towards
# the build limit within the Travis rust-lang account.
# The jobs are approximately sorted by execution time
- os: osx
if: branch IN (auto, try)
- env: INTEGRATION=rust-lang/rls
if: repo =~ /^rust-lang\/rust-clippy$/ AND branch IN (auto, try)
- env: INTEGRATION=rust-lang/cargo
Expand Down

0 comments on commit 80effca

Please sign in to comment.