This does not save Clippy any time but it makes sure that the concurrent
build limit is not reached as quickly for the `rust-lang` Travis
account.
I can't create a permalink to the discussion somehow, so here's an
excerpt from the Infra channel:
```
[11:57 PM] pietroalbini: there is a clippy build (20 jobs) and a packed_simd one (42 builders) and a rustc one which isn't scheduling atm
[11:58 PM] pietroalbini: I don't think there is a way to prioritize rustc builds in the queue on travis, right?
[12:22 AM] alexcrichton: pietro: I don't think so no
[12:22 AM] alexcrichton: If it's a problem we should cull builds on other projects
[12:22 AM] alexcrichton: The rust repo is the #1 priority
```
Since the integration tests are rarely failing these days, I think it's
fine to not run them on every commit.
If needed, it's also still possible to do a `try` build with `@bors try`.
This means we don't have to wait for `allowed_failures` builds to
complete. It should save us ~10 minutes until we remove the windows
build from `allowed_failures`.
3359: ci: allow all branches except trying.tmp and staging.tmp to be built r=phansch a=matthiaskrgr
r? @flip1995
The problem was that with the current configuration, if I made a branch `feature1` and pushed it to travis to have it checked before making a PR, travis would skip it because it only built the 3 branches that were specified when setting up bors.
The change allows all branch names to be build by default again, except for travis.tmp.
The gh-pages branch is skipped as per travis-ci defaults: https://docs.travis-ci.com/user/customizing-the-build/#safelisting-or-blocklisting-branches
Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
The deploy.sh was causing random integration tests to fail, possibly due to
multiple jobs trying to push to the same repo/branch at the same time?
The error message is:
+git push git@github.com:rust-lang-nursery/rust-clippy.git gh-pages
Warning: Permanently added the RSA host key for IP address '192.30.253.112' to the list of known hosts.
To github.com:rust-lang-nursery/rust-clippy.git
! [rejected] gh-pages -> gh-pages (fetch first)
error: failed to push some refs to 'git@github.com:rust-lang-nursery/rust-clippy.git'
hint: Updates were rejected because the re
The travis log is always truncated in similar ways.
Some examples:
* https://travis-ci.org/rust-lang-nursery/rust-clippy/jobs/383325083#L1076-L1082
* https://travis-ci.org/rust-lang-nursery/rust-clippy/jobs/382711561#L2768-L2773