From bd228c01a999128b1d267726893e30eefb115cb0 Mon Sep 17 00:00:00 2001
From: Chris Wong <lambda.fairy@gmail.com>
Date: Mon, 31 Jul 2017 22:05:23 +1200
Subject: [PATCH] Travis: don't use `--manifest-path` for Clippy

For some reason, `cargo clippy` ignores the tests when run with the
`--manifest-path` option.
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 589b106..f26f51c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,7 +12,7 @@ script:
     if command -v cargo-clippy > /dev/null; then
       CLIPPY_STATUS=0
       for package in maud_htmlescape maud_macros maud maud_lints maud_extras; do
-        cargo clippy --manifest-path $package/Cargo.toml -- -D warnings || CLIPPY_STATUS=$?
+        (cd $package && cargo clippy -- -D warnings) || CLIPPY_STATUS=$?
       done
       (exit $CLIPPY_STATUS)
     fi