From 80effca124279a205baec20cd5a427ac98698cbf Mon Sep 17 00:00:00 2001 From: Lzu Tao Date: Fri, 8 Nov 2019 02:06:28 +0700 Subject: [PATCH] build macOS on bors branches only 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. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b07ebe501c769..03cd66749d5a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 @@ -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