From 3f7e6624314b60cdeb4912e69445ec29e245e5cd Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 16 Jan 2016 20:17:16 +0100 Subject: [PATCH 1/2] travis: Run cargo chain for all cargo files --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index d88894af..a19bf942 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,6 +44,11 @@ script: } [[ $(changes_in "doc") ]] && echo "Changes in ./doc are not build by CI" + + for d in $(find -name "Cargo.toml" | grep -vE "^.$"); do + dir=$(dirname $d) + changes_in $dir && travis_cargo_run_in $dir + done travis_cargo_run_in "." addons: From e2e183941f6c907563f95197d9d74540f18cdb88 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 16 Jan 2016 20:33:20 +0100 Subject: [PATCH 2/2] Add some output --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a19bf942..a1fba208 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,8 +47,12 @@ script: for d in $(find -name "Cargo.toml" | grep -vE "^.$"); do dir=$(dirname $d) - changes_in $dir && travis_cargo_run_in $dir + changes_in $dir && \ + echo -e "\nRunning in $d\n" && \ + travis_cargo_run_in $dir done + + echo -e "\nRunning on top-level crate...\n" travis_cargo_run_in "." addons: