Browse Source

Travis: Fix builds wrongly reporting success after #31013

Seems to be a 5 year old bug that upstream doesn't care about.
https://github.com/travis-ci/travis-ci/issues/1066
Rémi Verschelde 6 năm trước cách đây
mục cha
commit
0bbb8d22c4
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      .travis.yml

+ 1 - 2
.travis.yml

@@ -135,8 +135,7 @@ script:
   - if [ "$STATIC_CHECKS" = "yes" ]; then
       sh ./misc/travis/clang-format.sh;
     else
-      scons -j2 CC=$CC CXX=$CXX platform=$PLATFORM tools=$TOOLS target=$TARGET $OPTIONS $EXTRA_ARGS;
-
+      scons -j2 CC=$CC CXX=$CXX platform=$PLATFORM tools=$TOOLS target=$TARGET $OPTIONS $EXTRA_ARGS &&
       if [ "$TEST_PROJECT" = "yes" ]; then
         git clone --depth 1 "https://github.com/godotengine/godot-tests.git";
         sed -i "s:custom_template/release=\"\":custom_template/release=\"$(readlink -e bin/godot_server.x11.opt.tools.64)\":" godot-tests/tests/project_export/export_presets.cfg;