Fix the return code from the mingw job.
The job should take its final return code from the scons job if it failed, not the sftp attempt.
This commit is contained in:
parent
84d88e97e3
commit
b14dfb25eb
1 changed files with 3 additions and 0 deletions
|
@ -74,10 +74,13 @@ elif [ "$LTS" == "mingw" ]; then
|
|||
cxx_std=$CXXSTD opt="$OPT" strict="$STRICT" \
|
||||
nls=false enable_lto="$LTO" sanitize="$SAN" jobs=2 --debug=time \
|
||||
arch=x86-64 prefix=/windows/mingw64 gtkdir=/windows/mingw64 host=x86_64-w64-mingw32
|
||||
BUILD_RET=$?
|
||||
|
||||
if [ "$UPLOAD_ID" != "" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
||||
./utils/travis/sftp
|
||||
fi
|
||||
|
||||
exit $BUILD_RET=$?
|
||||
elif [ "$LTS" == "steamrt" ]; then
|
||||
scons ctool=$CC cxxtool=$CXX boostdir=/usr/local/include boostlibdir=/usr/local/lib extra_flags_config=-lrt \
|
||||
cxx_std=$CXXSTD opt="$OPT" strict="$STRICT" nls=false enable_lto="$LTO" sanitize="$SAN" jobs=2 --debug=time \
|
||||
|
|
Loading…
Add table
Reference in a new issue