Remove clippy for now

This commit is contained in:
messense 2018-09-22 11:33:28 +08:00
parent 13e60c226a
commit 2205ef3b5d
3 changed files with 1 additions and 14 deletions

View file

@ -14,12 +14,7 @@ rust:
before_script: before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
script: script:
- | - travis-cargo build
if [ "$TRAVIS_RUST_VERSION" = nightly ]; then
travis-cargo build -- --features clippy
else
travis-cargo build
fi
- travis-cargo test - travis-cargo test
- travis-cargo --only stable doc - travis-cargo --only stable doc
after_success: after_success:

View file

@ -17,10 +17,6 @@ url = "1"
version = "0.9" version = "0.9"
optional = true optional = true
[dependencies.clippy]
optional = true
version = "^0.*"
[features] [features]
default = ["http"] default = ["http"]
http = ["reqwest"] http = ["reqwest"]

View file

@ -28,10 +28,6 @@
//! } //! }
//! ``` //! ```
#![cfg_attr(feature="clippy", feature(plugin))]
#![cfg_attr(feature="clippy", plugin(clippy))]
#![cfg_attr(feature="clippy", warn(cyclomatic_complexity))]
extern crate url; extern crate url;
#[cfg(feature = "http")] #[cfg(feature = "http")]
extern crate reqwest; extern crate reqwest;