update travis script
This commit is contained in:
parent
9a691cdcba
commit
625226a9c1
2 changed files with 17 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
16
.travis/run.sh
Normal file
16
.travis/run.sh
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue