Run clippy after the build on travis

This commit is contained in:
maik 2019-06-21 11:12:07 +02:00
parent 6339e9210b
commit 17902011ed

View file

@ -20,9 +20,10 @@ script:
# Download in a separate step to separate # Download in a separate step to separate
# building from fetching dependencies # building from fetching dependencies
- cargo fetch - cargo fetch
# Because rust isn't brutal enough itself
- cargo clippy -- -D warnings
# Build everything in a separate step to make a # Build everything in a separate step to make a
# clear distinction between building and testing # clear distinction between building and testing
- cargo test --no-run -vv - cargo test --no-run -vv
- cargo test --no-fail-fast -vv - cargo test --no-fail-fast -vv
# Because rust isn't brutal enough itself
# We need to run it after the build, otherwise clippy will try to build MoltenVK and travis will time out
- cargo clippy -- -D warnings