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 &&