Auto merge of #100 - matthiasbeyer:travis-test-subcrates, r=matthiasbeyer
travis: Run cargo chain for all cargo files Test sub-crates if there are changes in them, as pointed out by @TheNeikos in #99, this wasn't happening before.
This commit is contained in:
commit
a8bc18d39a
1 changed files with 9 additions and 0 deletions
|
@ -44,6 +44,15 @@ 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 && \
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue