Commit Graph

147 Commits

Author SHA1 Message Date
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
flip1995
27a69bd66c
Don't run integration tests in forks 2018-11-27 22:19:52 +01:00
flip1995
4e0938d349
Let travis run cargo fmt --all -- --check 2018-11-27 21:11:05 +01:00
Philipp Hansch
ce4f3010ec
Travis: Remove sudo: false 2018-11-23 21:47:02 +01:00
Matthias Krüger
f5929e0797 rust-lang-nursery/rust-clippy => rust-lang/rust-clippy 2018-11-22 04:40:09 +01:00
Matthias Krüger
59f4aba5b9 ci: when installing rust-toolchain-installer-master, install it in debug mode to save some time in ci.
the compiletime optimizations probably take longer than the speedup we get when executing the optimized binary vs debug build.
2018-10-31 11:18:20 +01:00
Matthias Krüger
9f722e9759 Revert "travis: work around temporary test failure due to rustc crashing on hyper."
This reverts commit 326270ad12.
2018-10-31 02:01:28 +01:00
Matthias Krüger
627ca6b578 Revert "Disable rust master toolchain build temporarily"
This reverts commit 0d899562cd.
2018-10-31 02:01:28 +01:00
Philipp Hansch
0d899562cd
Disable rust master toolchain build temporarily 2018-10-28 08:11:18 +01:00
bors[bot]
5e1c736600 Merge #3359
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>
2018-10-26 09:37:22 +00:00
Matthias Krüger
326270ad12 travis: work around temporary test failure due to rustc crashing on hyper.
Upstream ticket: https://github.com/rust-lang/rust/issues/55376
2018-10-26 09:57:20 +02:00