diff --git a/.travis.yml b/.travis.yml index e7f94ed..0581bf2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,5 +10,6 @@ install: - pip install coveralls script: - make clean docs test + - bin/run_all_examples.sh after_success: - coveralls diff --git a/bin/run_all_examples.sh b/bin/run_all_examples.sh new file mode 100755 index 0000000..a2c061c --- /dev/null +++ b/bin/run_all_examples.sh @@ -0,0 +1,9 @@ +#! /bin/bash + +__PATH__=$(cd $(dirname "$0")/..; pwd) +EXAMPLES=$(cd $__PATH__; find bonobo/examples -name \*.py -not -name __init__.py) + +for example in $EXAMPLES; do + echo "===== $example =====" + (cd $__PATH__; time bonobo run $example > /dev/null); +done