Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upChange Travis CI job order. #43287
Conversation
rust-highfive
assigned
alexcrichton
Jul 17, 2017
This comment has been minimized.
This comment has been minimized.
|
(rust_highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
|
(In the Travis CI PR build of this commit, 9 minutes and 6 minutes are respectively taken to skip two macOS builds. Both are due to |
This comment has been minimized.
This comment has been minimized.
|
@bors: r+ |
This comment has been minimized.
This comment has been minimized.
|
|
bors
added a commit
that referenced
this pull request
Jul 18, 2017
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
Failed to download sccache. Spurious. But let's not retry since #43293 will conflict with this anyway. |
This comment has been minimized.
This comment has been minimized.
|
|
kennytm
force-pushed the
kennytm:travis-ci-adjustments
branch
from
d19ae39
to
a7eb87e
Jul 18, 2017
This comment has been minimized.
This comment has been minimized.
|
Rebased. @alexcrichton |
This comment has been minimized.
This comment has been minimized.
|
Hmm, I'm a bit confused. Looking at the log it didn't even try to download sccache, which is reasonable because it should be cached in the docker image. So what's up with
? |
This comment has been minimized.
This comment has been minimized.
|
Right I see, a failed curl in a different build polluted our docker cache until #43293 was made to fix it, and this build was one of the casualties. |
This comment has been minimized.
This comment has been minimized.
|
@bors: r+ |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
@bors rollup |
kennytm commentedJul 17, 2017
•
edited
Reorder the job matrix to take advantage of the order how Travis CI starts them in rust-lang/rust. Plus other refactoring of
.travis.yml.Move the
$ALLOW_PRimage to the top, so pull requests will start testing as immediately after the build is started. Previously the$ALLOW_PRimage starts 6 minutes after the build was scheduled.Move the slow macOS images near the top, so they share more time with the rest of the faster Linux builds, which should shorten total test time (actually not much, about 7 minutes at most if this change does work).
Merged the
installsection of both Linux and macOS to make theenv:section a bit shorter, and enable change 4 below.Do not download or install anything if
$SKIP_BUILD == true, which further reduces chance of spurious failure in the PR-CI stage (avoid the red cross appearing even if CI passed).(IMO
$SKIP_BUILDshould not even exist: those irrelevant jobs should not start at all, but that would require travis-ci/travis-ci#2778 which has been rejected)