Commit graph

116 commits

Author SHA1 Message Date
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
Matthias Krüger
9e15791f0a ci: allow all branches except trying.tmp and staging.tmp to be built 2018-10-25 23:35:13 +02:00
flip1995
8fc84b1f55
Setup bors 2018-10-22 13:09:48 +02:00
Philipp Hansch
0a1bae9507
Install Windows SDK 10.0 on travis 2018-10-12 22:04:58 +02:00
Philipp Hansch
f5a38f2323
Only run markdown linter on linux
Because:

* There's no need to run it on more than one platform
* It doesn't work on windows
2018-10-12 08:39:55 +02:00
Philipp Hansch
024ccb4f50
Move Travis Windows build to allowed failures
Until the remaining issues are fixed. This also enabled `fast_finish`.
It will finish even if the windows build is still running.
2018-10-12 08:10:50 +02:00
Philipp Hansch
ff9dfccade
Add Travis windows build
See https://blog.travis-ci.com/2018-10-11-windows-early-release
2018-10-12 07:30:34 +02:00
Matthias Krüger
a3dc01edcc travis: reenable osx 2018-10-05 13:50:09 +02:00
Matthias Krüger
c1db71dd8c make sure travis fails when clippy does not build.
Fixes #3260
2018-10-04 17:38:30 +02:00
Philipp Hansch
5c88fc80a5
Merge pull request #3241 from phansch/remove_clippy_service
Remove clippy-service update from CI
2018-09-30 11:12:49 +01:00
Philipp Hansch
b43d7e74e0
Remove clippy-service token 2018-09-30 11:28:35 +02:00
Philipp Hansch
9bfe528531
Remove clippy-service update from CI
clippy-service hasn't been working for a long time now.
2018-09-30 10:55:36 +02:00
Matthias Krüger
7d996724df travis: sleep after putting out logs (try to fix truncated logs) 2018-09-30 10:30:51 +02:00
Manish Goregaokar
79d81ac3e7 Remove dependence of ci on github token 2018-09-03 09:20:15 +05:30
flip1995
205db6f686
Add LD_LIBRARY_PATH and GITHUB_TOKEN 2018-08-22 18:08:52 +02:00
Oliver Schneider
f969cf2cb6 Remove rust-toolchain file in CI 2018-08-20 11:21:32 -07:00
Oliver Schneider
d6af6886e7 Keep the rustc master install in the travis file so we can use travis_retry 2018-08-20 11:21:32 -07:00
flip1995
988b552337
Remove duplication of the cargo and rls repos from travis 2018-07-19 14:14:12 +02:00
Philipp Hansch
0b7dcdf6e7
No more allowed failures in integration tests
They have all been working for some time now.
2018-06-20 07:12:50 +02:00
François Mockers
6a7204f32a only install remark if not on an integration build to avoid ddosing npm 2018-05-29 21:28:52 +02:00
Philipp Hansch
6f9b3ca346
Merge pull request #2800 from phansch/no_deploy_in_integration_tests
Don't run deploy script in integration tests
2018-05-25 10:03:32 +02:00
Philipp Hansch
2999be64bc
Add some output to make log reading easier 2018-05-25 08:35:04 +02:00
Philipp Hansch
391562706d
Don't run deploy script in integration tests
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
2018-05-25 08:11:15 +02:00
Philipp Hansch
cef6346951
Remove most allow_failures
The removed ones work fine now, only cargo and rls are
failing currently.
2018-05-21 18:59:42 +02:00
Philipp Hansch
06f981f2e9
Merge pull request #2778 from phansch/add_rls_to_integration_tests
Add rls to integration tests
2018-05-19 17:19:18 +02:00
Philipp Hansch
cd03c6ee2e
Add rls to integration tests 2018-05-19 17:02:08 +02:00
Philipp Hansch
ee96249d32
Add hyper to integration tests
Because it was failing before: https://github.com/rust-lang/rust/issues/49643
2018-05-18 18:43:21 +02:00
Philipp Hansch
8509a0f839
Add more crates for integration tests 2018-05-17 21:40:04 +02:00
Philipp Hansch
9e6dc8d2d5
Add exec bit, add set -ex to ci test files 2018-05-16 18:55:21 +02:00
Philipp Hansch
4abd4a12b7
Make sure base tests are executed, too 🔨 2018-05-16 09:17:55 +02:00
Philipp Hansch
cc9122777b
Add integration tests 2018-05-16 09:10:35 +02:00
Philipp Hansch
0995e923f0
Run remark-lint on all markdown files in root 2018-04-13 20:54:42 +02:00