ensure that a failing return code propagates out from linux travis-build-main

This commit is contained in:
Joseph Lenox 2018-11-24 18:20:34 -06:00 committed by Joseph Lenox
parent ef65931808
commit 76c588ccfe

View File

@ -29,4 +29,7 @@ if [ ! -e ./local-lib/lib/perl5/x86_64-linux-thread-multi/Wx.pm ]; then
fi
SLIC3R_STATIC=1 CC=g++-4.9 CXX=g++-4.9 BOOST_DIR=$HOME/boost_1_63_0 perl ./Build.PL
excode=$?
if [ $excode -ne 0 ]; then exit $excode; fi
perl ./Build.PL --gui
exit $?