From b6215db57de7df5ee76ebbe6734eb0d04f76c246 Mon Sep 17 00:00:00 2001 From: yanchith Date: Fri, 17 Jan 2020 16:30:12 +0100 Subject: [PATCH] Modify CI script to run clippy instead of check --- .travis.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8b80d51bf5..020ae86395 100644 --- a/.travis.yml +++ b/.travis.yml @@ -60,9 +60,11 @@ before_install: script: - cargo test # TODO: enable GL backend - - (cd wgpu-core && cargo check --all-features) - - if [[ $TRAVIS_OS_NAME == "osx" ]]; then (cd wgpu-native && cargo check --features vulkan-portability); fi - - if [[ $TRAVIS_OS_NAME == "linux" ]]; then cargo check --release; fi + - (cd wgpu-core && cargo clippy --all-features) + - (cd wgpu-native && cargo clippy) + - (cd wgpu-remote && cargo clippy --all-features) + - if [[ $TRAVIS_OS_NAME == "osx" ]]; then (cd wgpu-native && cargo clippy --features vulkan-portability); fi + - if [[ $TRAVIS_OS_NAME == "linux" ]]; then cargo clippy --release; fi - if [[ $TRAVIS_RUST_VERSION == "nightly" ]]; then cargo +nightly install cbindgen; fi - if [[ $TRAVIS_RUST_VERSION == "nightly" ]] && [[ $TRAVIS_OS_NAME == "windows" ]]; then wget -nc -O glfw.zip https://github.com/glfw/glfw/archive/3.3.zip &&