mirror of
https://github.com/danbulant/robotparser-rs
synced 2026-06-24 17:21:45 +00:00
Remove clippy for now
This commit is contained in:
parent
13e60c226a
commit
2205ef3b5d
3 changed files with 1 additions and 14 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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"]
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue