From 2b4d9d55b84aee46faf10ad99fc005a528f2fc77 Mon Sep 17 00:00:00 2001 From: Hanaasagi Date: Tue, 25 Sep 2018 22:40:17 +0900 Subject: [PATCH] fix invalid travis-yaml in README --- README.md | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index eb1de06cce0c..100d7649678f 100644 --- a/README.md +++ b/README.md @@ -83,18 +83,20 @@ Be sure that Clippy was compiled with the same version of rustc that cargo invok You can add Clippy to Travis CI in the same way you use it locally: ```yml -- rust: stable -- rust: beta - before_script: - - rustup component add clippy-preview - script: - - cargo clippy -# if you want the build job to fail when encountering warnings, use - - cargo clippy -- -D warnings -# in order to also check tests and none-default crate features, use - - cargo clippy --all-targets --all-features -- -D warnings - - cargo test - # etc. +language: rust +rust: + - stable + - beta +before_script: + - rustup component add clippy-preview +script: + - cargo clippy + # if you want the build job to fail when encountering warnings, use + - cargo clippy -- -D warnings + # in order to also check tests and none-default crate features, use + - cargo clippy --all-targets --all-features -- -D warnings + - cargo test + # etc. ``` ## Configuration