Updated Travis CI integration
Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
parent
a8dff3d6d7
commit
7a9b3e9196
4 changed files with 10 additions and 153 deletions
|
|
@ -1,10 +1,13 @@
|
|||
echo " * Wootook unit testing"
|
||||
|
||||
MODULES_DIR="`pwd`/../src/application/modules"
|
||||
MODULES_DIR="`pwd`/src/application/modules"
|
||||
|
||||
for file in "$MODULES_DIR/*"
|
||||
for file in `find $MODULES_DIR -mindepth 1 -maxdepth 1 -type d`
|
||||
do
|
||||
echo " * Running ${file} module tests"
|
||||
phpunit --strict --configuration $MODULES_DIR/${file}/test/$phpunit.xml $MODULES_DIR/${file}
|
||||
echo " * Running `basename ${file}` module tests (Unit tests)"
|
||||
phpunit --strict --configuration ${file}/test/phpunit.xml ${file}/test/php/WootookUnit
|
||||
|
||||
#echo " * Running `basename ${file}` module tests (Integration tests)"
|
||||
#phpunit --strict --configuration ${file}/test/phpunit.xml ${file}/test/php/WootookUnit
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue