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
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
Philipp Hansch
d8cf11cdf2
Fix travis.yml
...
For some reason #2659 was an invalid .travis.yml and this reverts that
part of the commit that changes the .travis.yml.
It resulted in travis not starting jobs. There should be a travis build
again for this PR.
2018-04-11 08:47:40 +02:00
Philipp Hansch
8fbeaa81d8
Debug deployment script issues
...
This prints some more information during the docs deployment.
2018-04-11 08:13:59 +02:00
Russell Cohen
35125d370f
Move set -e
to before the deploy
...
I _think_ this might be why the deploy script crashing isn't causing the release to fail (see #2600 )
2018-04-02 23:11:47 -07:00
Oliver Schneider
8e03769bd2
Disable osx builder on travis
2018-01-19 09:16:33 +01:00
Michael Wright
1afbe3203c
Fix build
...
Added comment
2018-01-06 08:31:39 +02:00
Michael Wright
80f86633a9
Make style consistent
2018-01-06 08:14:52 +02:00
Michael Wright
5068a1252d
Fix build
...
Adding gpg key import.
2018-01-04 21:17:04 +02:00
Michael Wright
6802232e28
Fix build
...
Trying the work-around suggested at
https://github.com/travis-ci/travis-ci/issues/6307 to fix the Travis CI
MacOS build.
2018-01-04 20:39:31 +02:00
Oliver Schneider
50ffaca4c9
Reduce the hackiness of cargo-clippy
2017-10-03 12:07:24 +02:00
Benjamin Gill
ddc733a429
Remove surplus clippy invocation in travis
2017-08-22 02:15:45 +01:00
Benjamin Gill
f7839a818d
Add travis testing of --all
2017-08-20 05:04:12 +01:00
Oliver Schneider
1d6adf2105
Don't cache builds on travis
2017-08-07 13:34:36 +02:00
Oliver Schneider
b1eec6b402
Remove all references to clippy_tests
2017-08-02 17:24:07 +02:00
Oliver Schneider
45bb3ec072
Produce backtrace on travis
2017-08-01 15:40:57 +02:00
Oliver Schneider
dfbc8990eb
Update .travis.yml
2017-07-31 13:10:04 +02:00
Arnavion
d3bdec216b
Canonicalize --manifest-path argument before comparing it to cargo metadata.
...
Before this change, a relative path like `--manifest-path=./Cargo.toml` would
fail to find a matching package in the cargo metadata. With this change,
both the argument and the cargo metadata path are canonicalized before
comparison.
2017-07-28 15:22:31 -07:00
Arnavion
db7a5c69f1
Fix logic that determines closest parent crate when invoked from a subdirectory.
...
The previous logic incorrectly matches the deepest child of the current
directory that is a crate.
2017-07-27 00:04:17 -07:00
Oliver Schneider
4c185910c9
Adjust travis and appveyor paths
2017-05-17 15:50:38 +02:00
Oliver Schneider
0773b80d65
only require rustfmt and update_lints for version bumps
2017-02-14 11:22:21 +01:00
Andre Bogus
0c7992cdf5
script fixes
2017-01-09 16:45:33 +01:00
Andre Bogus
e457cd9c26
I fail at YAML
2017-01-08 17:35:49 +01:00
Andre Bogus
d2738e345a
oops. there was another -
2017-01-08 17:33:19 +01:00
Andre Bogus
c1f945cef4
only run after_success on Linux
2017-01-08 17:31:08 +01:00
Andre Bogus
42c48fde8a
another set +e for travis on OSX
2017-01-07 15:15:20 +01:00
Andre Bogus
7b8ee6b717
fix typo in appveyor and bug in travis/OSX
2017-01-06 17:52:56 +01:00
Andre Bogus
2a7bfc74d1
hopefully fix travis on OSX, too
2017-01-06 12:48:41 +01:00
Andre Bogus
a05a4567e7
more CI integration
2017-01-05 19:26:00 +01:00
Oliver Schneider
55c0c9da8d
fix travis
2016-12-21 13:21:35 +01:00
Oliver Schneider
4a4e1ea2c5
also run rustfmt on clippy-lints
2016-12-20 18:21:30 +01:00
Oliver Schneider
4d0864b277
rustfmt is installed into the cargo bin dir
2016-12-20 12:21:52 +01:00
Oliver Schneider
8798210fc6
fix subsequent travis runs
2016-12-20 10:43:59 +01:00
Oliver Schneider
ad0b09e84c
enforce rustfmt on travis
2016-12-20 10:42:22 +01:00
Alex Burka
c5187ef0d9
travis: ping correct repo for clippy.bash.io
2016-11-28 18:59:23 -05:00
mcarton
e66d2311f2
Move set -e
of travis down
...
We really can continue to build when the first two commands fail.
2016-10-01 00:38:01 +02:00
Oliver Schneider
afc95a11ec
travis bump
2016-08-08 17:53:07 +02:00
Oliver Schneider
9207c44bd2
also cache files in clippy_lints, necessary for testing cargo-clippy
2016-08-08 17:45:54 +02:00
mcarton
b7df2f8732
Add deploy.sh
to travis.toml
2016-07-19 21:52:13 +02:00
Pascal Hertleif
ba9eda7236
Add First Draft of Lint Listing Page
2016-07-12 16:31:13 +02:00
Oliver 'ker' Schneider
d57192d5c1
don't depend on regex_macros anymore
2016-06-25 18:12:29 +02:00
Andre Bogus
edf3262500
try out cache: cargo with travis
2016-06-24 07:20:33 +02:00
Oliver Schneider
ba33fd0a3a
pass the path to the correct command
2016-06-22 14:37:08 +02:00
Oliver Schneider
94eb901336
add cargo/bin to PATH
2016-06-22 10:37:08 +02:00
Oliver Schneider
490030647d
create missing cargo directory
2016-06-22 10:36:18 +02:00