diff --git a/.travis.yml b/.travis.yml index 28ca5fd4bbe77db8272e105c8374e4d75a56c3f3..f8be3ae7b0529504f2186ad78b71ef53104f2808 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,5 +23,5 @@ before_script: - bash .travis/before_script.sh script: - - mvn test -P integrationTests -Dtest.fess.url="http://127.0.0.1:8080" -Dtest.es.url="http://127.0.0.1:9201" + - bash .travis/run.sh diff --git a/.travis/run.sh b/.travis/run.sh new file mode 100644 index 0000000000000000000000000000000000000000..75d73883c6a5fdd70fa91e808fefe18163ee0fe4 --- /dev/null +++ b/.travis/run.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +cd `dirname $0` +cd .. +BASE_DIR=`pwd` + +mvn test -P integrationTests -Dtest.fess.url="http://127.0.0.1:8080" -Dtest.es.url="http://127.0.0.1:9201" +ret=$? + +if [ $ret != 0 ] ; then + for f in `find $BASE_DIR -type f | grep surefire-reports | grep -v /TEST-` ; do + cat $f + done +fi + +exit $ret