Travis: Make winpty failure not fail the build
This commit is contained in:
committed by
abdullahtahiriyo
parent
74281dc3e0
commit
0646cefebe
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user