about summary refs log tree commit diff
path: root/ci
AgeCommit message (Collapse)AuthorLines
2020-01-30Deprecate util/dev in favor of cargo aliasPhilipp Hansch-2/+2
If you've been using `./util/dev` before, this now becomes `cargo dev`. The key part of this change is found in `.cargo/config`. This means one less shell script and a bit more cross-platform support for contributors.
2019-12-01build: set up build job for i686 targetsLzu Tao-4/+0
2019-11-28Remove the old integration-tests.sh scriptflip1995-37/+0
2019-11-25Enable deny-warnings feature everywhere in CIflip1995-3/+3
2019-11-25Remove unused debugging featureflip1995-2/+2
2019-11-05build: avoid timing out in TravisLzu Tao-2/+3
2019-10-29build: do not cache clippy binaries in integration testsLzu Tao-0/+1
We rebuild clippy anyway.
2019-10-29Early exit in integration testsLzu Tao-5/+10
2019-10-22Early exit if errors in integration testsLzu Tao-1/+1
2019-10-22nit: ! is not on a condition and skips errexitLzu Tao-1/+1
2019-10-22build: use shared target dirLzu Tao-3/+8
2019-10-22build: improve script and travis configLzu Tao-9/+12
* 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-19build: use clippy's debug build in integration testLzu Tao-16/+19
2019-07-15Auto merge of #4273 - mikerite:deny-warnings, r=flip1995bors-2/+2
Deny warnings in CI changelog: none
2019-07-15Deny warnings in CIMichael Wright-2/+2
2019-07-13Test with different sysroots dependent on the OSflip1995-5/+10
2019-07-13Don't re-set the LD_LIBRARY_PATH in base_tests.shflip1995-2/+0
2019-07-07Remove format checks from CI scripts again.Michael Wright-19/+0
2019-07-07Remove format checks from CI scriptMichael Wright-11/+0
2019-05-16Add a stderr file length check to clippy_devPhilipp Hansch-0/+1
This adds a check to `clippy_dev` that enforces a maximum line count for `stderr` files. CI will fail if the line count is exceeded. It's currently set to `320` lines. Ideally this would be implemented in `compiletest-rs` but there are plans to move Rust's `compiletest` into the `compiletest-rs` repository and I don't want to do the work in `compiletest` twice. However, I also don't want to wait until the move is done, so I added the check to `clippy_dev` until it makes sense to add it to compiletest-rs. cc #2038
2019-04-09Exclude ice-3891.rs from rustfmt runPhilipp Hansch-1/+3
Because the code triggers a rustc parse error which makes rustfmt fail.
2019-03-09Auto merge of #3824 - phansch:adding_lints, r=phanschbors-1/+1
Add lint writing documentation [Rendered](https://github.com/phansch/rust-clippy/blob/adding_lints/doc/adding_lints.md) This adds a new documentation page that explains how to write Clippy lints. It guides the reader through creating a `foo` function lint. I plan to iterate a bit more on the prose of some sections, but I think the general structure is fine now, so I'm looking forward to feedback =) One thing I'm not sure about: I felt like this is too big for CONTRIBUTING.md so I put it into a new `doc/` directory. I can imagine having more documentation in the future, so we might even want to create a book using mdbook instead? Or should everything go into CONTRIBUTING.md? Further things left to do: - [x] Link from CONTRIBUTING.md - [x] Remove things covered in this guide from CONTRIBUTING.md - [x] Section about `clippy::author` attribute - [x] Run `remark-lint` on CI over the `doc` directory and fix things
2019-03-07Add `[rustfmt::skip]` to `unused_unit` testMichael Wright-1/+1
2019-03-07Add `[rustfmt::skip]` to `doc_markdown` testsMichael Wright-1/+1
2019-03-03Run remark in `doc` directory, too.Philipp Hansch-1/+1
2019-02-28Add `rustfmt::skip` to `double_parens` testsMichael Wright-1/+1
2019-02-27Add `rustfmt::skip` to outer attr format testsMichael Wright-1/+1
2019-02-26Add [rustfmt::skip] to formatting lint testsMichael Wright-1/+1
2019-02-24Fix `useless_format` suggestionsMichael Wright-1/+1
2019-02-22rustfmt tests/ui/methods.rsMichael Wright-1/+1
2019-02-06Auto merge of #3665 - jsgf:master, r=oli-obkbors-6/+32
Start making clippy easier to invoke in non-cargo contexts Clippy (clippy-driver) currently has a couple of strong but unnecessary couplings with cargo. This series: 1. makes detection of check builds more robust, and 2. make clippy-driver use the --sysroot specified on the command line as its internal sysroot.
2019-02-03Add setup-toolchain.sh script to configure the master version of rustc,Jeremy Fitzhardinge-2/+2
and update CONTRIBUTING.md accordingly.
2019-02-02Add a CI test for cargoless use of clippy-driverJeremy Fitzhardinge-0/+25
2019-02-02base-tests: use subshells to manage current directoryJeremy Fitzhardinge-6/+7
It saves on having to pair `cd <path> && think && cd ..`.
2019-01-08Remove all copyright license headersPhilipp Hansch-21/+0
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
2018-12-27tests: fix formatting and update test outputMatthias Krüger-6/+3
fix script one last time™
2018-12-27base tests: make sure to fail CI if tests need formattingMatthias Krüger-8/+17
2018-12-27base tests: switch to nightly toolchain before checking formatting of tests ↵Matthias Krüger-0/+4
with rustfmt this errored because rustfmt is not available on the master toolchain
2018-12-19Auto merge of #3552 - phansch:make_integration_tests_fail_again, r=oli-obkbors-1/+1
Make integration tests fail on 'E0463' cc #3523
2018-12-14Make integration tests fail on 'E0463'Philipp Hansch-1/+1
2018-12-14base tests: make sure cargo-clippy binary can be called directlyMatthias Krüger-0/+5
2018-12-12Auto merge of #3537 - matthiaskrgr:fix_script_2, r=matthiaskrgrbors-3/+2
base-tests: don't print all commands to stdout during the loop Fixes thinko in #3529
2018-12-12base-tests: don't print all commands to stdout during the loopMatthias Krüger-3/+2
2018-12-12fix typo in scriptMatthias Krüger-1/+1
2018-12-11Merge branch 'master' into rustfmt_testsMatthias Krüger-0/+2
2018-12-10test formatting: don't format tests/ui/formatting.rsMatthias Krüger-1/+1
2018-12-10update test stderrMatthias Krüger-2/+7
2018-12-09travis: base-tests: share CARGO_TARGET_DIR between check runs of subcrates ↵Matthias Krüger-0/+2
to avoid unneccessarily recompiling deps.
2018-12-09base tests: assert that tests are properly formatted.Matthias Krüger-0/+13
2018-12-05Fix dogfood tests.Wayne Warren-20/+0