Lzu Tao
80effca124
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.
2019-11-08 02:06:28 +07:00
Lzu Tao
3e1760cb04
build: re-enable stdsimd integration test
...
Also sorting rls to the first in the list because it is now
the longest running test.
2019-11-06 13:27:39 +07:00
Manish Goregaokar
b8c2cb17e6
Turn off stdsimd integration test
2019-11-05 22:50:09 +07:00
Lzu Tao
55c3a3b282
build: do not cache clippy binaries in integration tests
...
We rebuild clippy anyway.
2019-10-29 11:08:06 +07:00
Lzu Tao
84da79e922
build: strip before caching in .cargo/bin
2019-10-29 10:16:10 +07:00
Matthias Krüger
407e5a000a
travis: temporarily disable rustfmt ci check until #4742 is resolved
2019-10-28 15:15:32 +01:00
Lzu Tao
088d528be9
build: remove needless BASE_TESTS env
2019-10-22 16:16:01 +07:00
Lzu Tao
ba673d020b
build: remove travis_wait
...
Now the travis CI build time is fast enough to not cause build timeout.
2019-10-22 16:16:01 +07:00
Lzu Tao
abafec5640
macos: symlink rustc dev libs to /usr/local/lib
...
Due to System Integrity Protection (SIP), exporting
LD_LIBRARY_PATH will not work on macOS systems.
Therefore, rather than disable SIP, we could symlink
those rust dev libs to /usr/local/bin.
I already tried install_name_tool(1) but couldn't make
clippy-driver work on CI for whatever reasons.
2019-10-22 10:14:39 +07:00
Lzu Tao
b869eeb2a4
build: improve script and travis config
...
* fix a diff failure on windows
See https://travis-ci.com/rust-lang/rust-clippy/jobs/245971932#L1625
for an example.
* use cmp instead of diff > /dev/null
* clone single branch instead of clone then checking out
* do not decrypt key if have no diff change
2019-10-22 10:14:39 +07:00
Lzu Tao
c6159961ae
travis: Windows build might be stuck as non-supported languages
...
See <https://docs.travis-ci.com/user/reference/windows/#supported-languages >
for list of Windows supported languages.
2019-10-18 01:09:32 +07:00
Lzu Tao
d81191e87d
Use CI caching and cargo feature install-upgrade
...
* do not force to install rustfmt
* use cargo-cache
* disable bash trace
* clone single branch
2019-10-16 13:14:24 +07:00
Lzu Tao
7de7d0c97b
build: use rustup minimal profile to speed up Rust installation time
2019-10-16 02:38:31 +07:00
bors
ddb5cb787d
Auto merge of #4668 - lzutao:update-rtim, r=flip1995
...
build: switch back to latest official RTIM release
Closes #4666
changelog: none
2019-10-15 18:34:30 +00:00
flip1995
2f108079da
Enable integration tests again
...
futures-rs, hyper, rls
2019-10-15 15:13:09 +02:00
Lzu Tao
0b39946b20
travis: break out before_script stage to test setup-toolchain work
2019-10-15 16:47:16 +07:00
Lzu Tao
63a4cd60cd
build: do not trace deploy step
2019-10-15 16:47:16 +07:00
Yuki Okushi
2af1995696
Use windows-sdk-10.1 to avoid installation failure
2019-10-04 04:42:46 +09:00
flip1995
eb1fc7b3fd
Disable hyper and futures-rs integration tests
2019-10-02 10:55:52 +02:00
Manish Goregaokar
70f03dd41f
Re enable OSX builders
...
Fixes #4576
2019-09-26 03:31:08 -07:00
Manish Goregaokar
a756b9bd2d
allow osx failures
2019-09-25 13:51:45 -07:00
Philipp Hansch
18592826da
Disable RLS integration test
...
until RLS has been updated to the latest Clippy commit.
2019-08-20 07:27:14 +02:00
flip1995
911c3de909
Allow failures on the travis windows build again
2019-08-15 11:33:28 +02:00
Michael Wright
a9714227bd
Enable rustfmt tests
...
This reverts commit d73a953db7
.
2019-07-28 06:45:23 +02:00
Matthias Krüger
d73a953db7
ci: temporarily disable rustfmt checks/tetss since it's broken for nightly
2019-07-27 17:47:51 +02:00
flip1995
1c87df486e
grep only lines, that start with 'changelog: '
2019-07-15 19:39:59 +02:00
flip1995
61ca901e51
Get PR number from bors commit message
2019-07-15 19:39:59 +02:00
flip1995
cb6cec5695
Authenticate with github_api_token
2019-07-15 19:39:59 +02:00
flip1995
a0f6c9361b
Check PRs for changelog entry in the body
2019-07-15 19:39:58 +02:00
flip1995
625051d3e7
Revert "Remove CARGO_INCREMENTAL=0
from windows build"
...
This reverts commit 876a7e1f01
.
Using incremental build on windows increases the build time on travis by
about 8 minutes.
2019-07-14 15:13:47 +02:00
flip1995
876a7e1f01
Remove CARGO_INCREMENTAL=0
from windows build
2019-07-13 13:26:26 +02:00
flip1995
4817c2c381
Test with different sysroots dependent on the OS
2019-07-13 12:48:43 +02:00
flip1995
2991f31c17
Add master toolchain binaries to the PATH
2019-07-13 12:48:42 +02:00
Philipp Hansch
ac6e52a91c
Change conditional
...
Maybe uname == Linux was true on the windows VM?
This could be a way to avoid the secret environment variable issue with
Travis CI.
2019-07-13 12:48:42 +02:00
Philipp Hansch
bd2c76824d
Stop allowing failures in Travis windows build
2019-07-13 12:48:42 +02:00
flip1995
cd4e593c96
Reenable cargo and rls tests in travis
2019-07-01 15:56:06 +02:00
Lzu Tao
5d9cd9e120
travis: Wait at most 30 minutes for base test
...
Sometimes travis gets slow and makes the builds spurious failure because
of no output in 10 minutes. This commit increase Travis timing-out time
at most 30 minutes before terminating the build.
2019-06-13 02:49:02 +07:00
Matthias Krüger
abfdceca18
travis: disable rls integration test.
2019-06-09 20:53:24 +02:00
Oliver Scherer
833ef0036a
Disable cargo integration test due to clippy ICE
2019-05-22 10:36:20 +02:00
Matthias Krüger
ee07fa82a4
travis: sort integration test jobs so that the jobs taking the most time are run first
2019-04-28 20:50:35 +02:00
Philipp Hansch
4e72d1eb8c
Add Marwes/combine to integration tests
...
repo link: https://github.com/Marwes/combine
`combine` uses a lot of macros internally, has been downloaded more than 200_000
times and is also a dependency of [`redis-rs`](https://crates.io/crates/redis ).
Clippy also previously ICEd on combine in #3747 so I think it would be
good to have this crate as an integration test.
2019-04-13 13:21:14 +02:00
Jeremy Fitzhardinge
47563a13eb
Add setup-toolchain.sh script to configure the master version of rustc,
...
and update CONTRIBUTING.md accordingly.
2019-02-03 14:41:46 -08:00
Philipp Hansch
69d96c7cdf
Remove conditionals from base builds
...
We _always_ want to execute these, also on the master branch.
2019-02-01 18:27:09 +01:00
Philipp Hansch
4e39e65ad8
Travis: Don't run integration tests on every PR commit
...
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`.
2019-02-01 07:34:36 +01:00
Philipp Hansch
f8edc39c38
Add itertools to integration tests
2019-01-04 18:01:44 +01:00
flip1995
5527edd956
Fix rvm/gpg bug in travis osx build
2018-12-12 15:37:31 +01:00
Philipp Hansch
72d2de6807
Add fast_finish
to travis matrix
...
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`.
2018-12-09 15:42:52 +01:00
Philipp Hansch
d93ea1ec99
s/rustfmt-preview/rustfmt/
2018-12-08 12:41:04 +01:00
Philipp Hansch
39f179da45
Disable incremental build for windows
...
Testing if this speeds up compilation time for the Windows CI build.
2018-12-02 15:09:45 +01:00
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer
f5831523d3
Merge pull request #3465 from flip1995/rustfmt
...
rustfmt everything once and for all
2018-11-28 16:19:55 +01:00