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:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
script:
- |
if [ "$TRAVIS_RUST_VERSION" = nightly ]; then
travis-cargo build -- --features clippy
else
travis-cargo build
fi
- travis-cargo build
- travis-cargo test
- travis-cargo --only stable doc
after_success:

View file

@ -17,10 +17,6 @@ url = "1"
version = "0.9"
optional = true
[dependencies.clippy]
optional = true
version = "^0.*"
[features]
default = ["http"]
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;
#[cfg(feature = "http")]
extern crate reqwest;