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
Oliver Schneider
b34cdc7a79
speed up travis by not recompiling clippy just to test cargo clippy
2016-06-21 17:20:08 +02:00
mcarton
b8746901bd
s/npm install remark/npm install remark-cli
2016-06-13 12:09:14 +02:00
Oliver Schneider
41e71b4f48
leave the clippy_lints directory after testing
2016-05-31 14:37:25 +02:00
Oliver Schneider
3ad0a49632
travis should check clippy-lints
2016-05-30 11:32:02 +02:00
Oliver Schneider
654154d8e7
cargo clippy
subcommand
2016-05-09 16:47:32 +02:00
Oliver Schneider
3ec1b9a40a
more arguments don't make stuff better
2016-05-06 16:22:17 +02:00
Oliver Schneider
93ae9c32f1
pass full config path to remark
2016-05-06 16:15:10 +02:00
Oliver Schneider
fff6ddea2a
fail fast
2016-05-06 15:39:10 +02:00
Oliver Schneider
d1393cfd38
run remark-lint on README.md
2016-05-06 15:32:34 +02:00
mcarton
72b747915c
Fix .travis.yml again
2016-04-15 01:50:33 +02:00
mcarton
d6073eb54e
Fix regex tests
2016-04-14 22:07:14 +02:00
Manish Goregaokar
cf95374486
Add token
2016-03-29 18:45:58 +05:30
Benjamin Kampmann
54c8c23a74
Add Post-Success script to build clippy-service
2016-03-29 10:24:35 +02:00
Manish Goregaokar
6c7a2ffdb5
Rust upgrade to rustc 1.9.0-nightly ( 74b886ab1
2016-03-13), update compiletest
2016-03-15 20:36:21 +05:30
mcarton
6ad2f645be
Put regex_macros tests in a separate feature
2016-03-07 19:39:49 +01:00
mcarton
004fc4e09a
Split travis tests into build + test
2016-03-07 18:40:13 +01:00
Seo Sanghyeon
f3f5e3cb25
Don't dogfood twice
2015-12-16 23:13:01 +09:00