소스 검색

Travis: Fix OS X build

Probably due to additional Travis caching, cmake is now already
installed when the script runs. This causes the unlink to remove the
symlink to the executable, which is then not re-added by the install
(since it's already installed).
Yuri Kunde Schlesner 9 년 전
부모
커밋
fcec20c9ff
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      .travis-deps.sh

+ 1 - 2
.travis-deps.sh

@@ -28,7 +28,6 @@ if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then
     fi
     fi
 
 
 elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
 elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
-    brew update > /dev/null # silence the very verbose output
-    brew unlink cmake || true
+    brew update
     brew install cmake qt5 sdl2 dylibbundler
     brew install cmake qt5 sdl2 dylibbundler
 fi
 fi