run all examples during the continuous integration process.
This commit is contained in:
@ -10,5 +10,6 @@ install:
|
|||||||
- pip install coveralls
|
- pip install coveralls
|
||||||
script:
|
script:
|
||||||
- make clean docs test
|
- make clean docs test
|
||||||
|
- bin/run_all_examples.sh
|
||||||
after_success:
|
after_success:
|
||||||
- coveralls
|
- coveralls
|
||||||
|
|||||||
9
bin/run_all_examples.sh
Executable file
9
bin/run_all_examples.sh
Executable file
@ -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
|
||||||
Reference in New Issue
Block a user