Skip to content

Commit bfb029f

Browse files
committed
Disable clippy
Cargo tries to lint all of the path dependencies, so it's disabled for now rust-lang/rust-clippy#1066
1 parent 8c43131 commit bfb029f

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.travis.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,14 @@ matrix:
2020
before_install:
2121
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-8
2222
- g++ -v
23-
- rustup component add clippy-preview rustfmt-preview
23+
# Cargo tries to lint all of the path dependencies, so it's disabled for now
24+
# https://github.com/rust-lang/rust-clippy/issues/1066
25+
# - rustup component add clippy --toolchain=nightly || cargo install --git https://github.com/rust-lang/rust-clippy/ --force clippy
26+
- rustup component add rustfmt --toolchain=nightly || cargo install --git https://github.com/rust-lang/rustfmt/ --force clippy
2427
script:
2528
- travis_wait 30 cargo build
2629
- cargo test
27-
- cargo clippy --all-targets --all-features -- -D warnings
30+
# Cargo tries to lint all of the path dependencies, so it's disabled for now
31+
# https://github.com/rust-lang/rust-clippy/issues/1066
32+
# - cargo clippy --all-targets --all-features -- -D warnings
2833
- cargo fmt --all -- --check

tests/spec.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ CONDITIONS OF ANY KIND, either express or implied. See the License for the
99
specific language governing permissions and limitations under the License.
1010
*/
1111

12-
#![allow(unknown_lints)]
13-
#![allow(identity_op)]
12+
#![allow(clippy::identity_op)]
1413

1514
extern crate cssparser;
1615
extern crate html5ever;

0 commit comments

Comments
 (0)