diff --git a/.travis.yml b/.travis.yml index f7d78b8092..be8041dcb8 100755 --- a/.travis.yml +++ b/.travis.yml @@ -283,9 +283,9 @@ script: # run the tests #cmd.exe /C 'cd C:\Users\travis\build\FreeCAD\FreeCAD\build\bin && FreeCADCmd.exe --run-test 0' # Make build fail if ANY of the following fails - set -ev + #set -ev winpty.exe -Xallow-non-tty -Xplain /C/Users/travis/build/FreeCAD/FreeCAD/build/bin/FreeCADCmd.exe --run-test 0 | tee runlog.txt - grep FAILED runlog.txt ; [ $? == 1 ] && echo "Build succeeded and tests passed!" || ( echo "Tests failed!" && false ) + grep -q FAILED runlog.txt ; [ $? == 1 ] && echo "Build succeeded and tests passed!" || ( echo "Tests failed!" && false ) else sudo make -j2 install ${INSTALLED_APP_PATH} --console --run-test 0