Browse Source

Travis: Disable unit tests in scan-build config

Turo Lamminen 8 năm trước cách đây
mục cha
commit
35907e3446
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      .travis.sh

+ 1 - 1
.travis.sh

@@ -45,7 +45,7 @@ fi
 if [ "$TRAVIS_OS_NAME" = "linux" ]; then
 if [ "$TRAVIS_OS_NAME" = "linux" ]; then
   if [ $ANALYZE = "ON" ] ; then
   if [ $ANALYZE = "ON" ] ; then
     if [ "$CC" = "clang" ]; then
     if [ "$CC" = "clang" ]; then
-        scan-build cmake -G "Unix Makefiles" -DBUILD_SHARED_LIBS=OFF
+        scan-build cmake -G "Unix Makefiles" -DBUILD_SHARED_LIBS=OFF -DASSIMP_BUILD_TESTS=OFF
         scan-build --status-bugs make -j2
         scan-build --status-bugs make -j2
     else
     else
         cppcheck --version
         cppcheck --version