travis: Run cargo chain for all cargo files

This commit is contained in:
Matthias Beyer 2016-01-16 20:17:16 +01:00
parent 3dac37478a
commit 3f7e662431

View file

@ -44,6 +44,11 @@ script:
} }
[[ $(changes_in "doc") ]] && echo "Changes in ./doc are not build by CI" [[ $(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 "." travis_cargo_run_in "."
addons: addons: