Commit graph

78 commits

Author SHA1 Message Date
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