diff --git a/.travis.yml b/.travis.yml index 1865850..52d70ff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/Cargo.toml b/Cargo.toml index b5816bc..ba5ed43 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,10 +17,6 @@ url = "1" version = "0.9" optional = true -[dependencies.clippy] -optional = true -version = "^0.*" - [features] default = ["http"] http = ["reqwest"] diff --git a/src/lib.rs b/src/lib.rs index 1af06f4..296144c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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;