File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 22
33if [[ $PLATFORM == " Unix" ]]; then
44 mkdir -p travisbuild
5- cd travisbuild
6- CMAKE_FLAGS=' -DCMAKE_BUILD_TYPE=Debug \
7- -DRUN_IN_PLACE=TRUE \
8- -DENABLE_GETTEXT=TRUE'
5+ cd travisbuild || exit 1
6+ CMAKE_FLAGS=' '
97 # Clang builds with FreeType fail on Travis
108 if [[ $CC == " clang" ]]; then
119 CMAKE_FLAGS+=' -DENABLE_FREETYPE=FALSE'
1210 fi
1311 if [[ $TRAVIS_OS_NAME == " osx" ]]; then
1412 CMAKE_FLAGS+=' -DCUSTOM_GETTEXT_PATH=/usr/local/opt/gettext'
1513 fi
16- cmake $CMAKE_FLAGS ..
14+ cmake -DCMAKE_BUILD_TYPE=Debug \
15+ -DRUN_IN_PLACE=TRUE \
16+ -DENABLE_GETTEXT=TRUE \
17+ $CMAKE_FLAGS ..
1718 make -j2
1819 echo " Running unit tests."
1920 ../bin/minetest --run-unittests && exit 0
@@ -34,9 +35,9 @@ elif [[ $PLATFORM == Win* ]]; then
3435 export EXISTING_MINETEST_DIR=$OLDDIR
3536 export NO_MINETEST_GAME=1
3637 if [[ $PLATFORM == " Win32" ]]; then
37- $OLDDIR /util/buildbot/buildwin32.sh travisbuild && exit 0
38+ " $OLDDIR /util/buildbot/buildwin32.sh" travisbuild && exit 0
3839 elif [[ $PLATFORM == " Win64" ]]; then
39- $OLDDIR /util/buildbot/buildwin64.sh travisbuild && exit 0
40+ " $OLDDIR /util/buildbot/buildwin64.sh" travisbuild && exit 0
4041 fi
4142else
4243 echo " Unknown platform \" ${PLATFORM} \" ."
You can’t perform that action at this time.
0 commit comments