Skip to content

Commit

Permalink
Disable clippy
Browse files Browse the repository at this point in the history
Cargo tries to lint all of the path dependencies, so it's disabled for now

rust-lang/rust-clippy#1066
  • Loading branch information
dfrankland committed Mar 6, 2019
1 parent 8c43131 commit bfb029f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,14 @@ matrix:
before_install:
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-8
- g++ -v
- rustup component add clippy-preview rustfmt-preview
# Cargo tries to lint all of the path dependencies, so it's disabled for now
# https://github.com/rust-lang/rust-clippy/issues/1066
# - rustup component add clippy --toolchain=nightly || cargo install --git https://github.com/rust-lang/rust-clippy/ --force clippy
- rustup component add rustfmt --toolchain=nightly || cargo install --git https://github.com/rust-lang/rustfmt/ --force clippy
script:
- travis_wait 30 cargo build
- cargo test
- cargo clippy --all-targets --all-features -- -D warnings
# Cargo tries to lint all of the path dependencies, so it's disabled for now
# https://github.com/rust-lang/rust-clippy/issues/1066
# - cargo clippy --all-targets --all-features -- -D warnings
- cargo fmt --all -- --check
3 changes: 1 addition & 2 deletions tests/spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.
*/

#![allow(unknown_lints)]
#![allow(identity_op)]
#![allow(clippy::identity_op)]

extern crate cssparser;
extern crate html5ever;
Expand Down

0 comments on commit bfb029f

Please sign in to comment.