From 0646cefebeaaed2370314eb28c41ed46faf41d7f Mon Sep 17 00:00:00 2001 From: Abdullah Tahiri Date: Mon, 3 Jun 2019 15:58:24 +0200 Subject: [PATCH] Travis: Make winpty failure not fail the build --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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