]> granicus.if.org Git - vim/commitdiff
patch 8.0.1187: building with lua fails for OSX on Travis v8.0.1187
authorBram Moolenaar <Bram@vim.org>
Thu, 12 Oct 2017 19:45:23 +0000 (21:45 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 12 Oct 2017 19:45:23 +0000 (21:45 +0200)
Problem:    Building with lua fails for OSX on Travis.
Solution:   Separate brew-update and brew-install. (Ozaki Kiichi, closes #2203)

.travis.yml
src/version.c

index ab3de517926cf7d1622bb3ec671a1bfefba107a2..b3ecd091c469f29619847acb552deec42ef05d5a 100644 (file)
@@ -87,7 +87,7 @@ before_install:
     # building cffi only works with gcc, not with clang
   - if [ "$COVERAGE" = "yes" ]; then CC=gcc pip install --user pyopenssl ndg-httpsclient pyasn1; fi
     # Lua is not installed on Travis OSX
-  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install lua; export LUA_PREFIX=/usr/local; fi
+  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then export HOMEBREW_NO_AUTO_UPDATE=1; brew update; brew install lua; export LUA_PREFIX=/usr/local; fi
     # Use llvm-cov instead of gcov when compiler is clang.
   - if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CC" = "clang" ]; then ln -sf $(which llvm-cov) /home/travis/bin/gcov; fi
 
index 398a668ad1fd93eab65e245df9eafb2b92590b3a..f1ab8278a25756d80176c1b8485a669326b4310e 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1187,
 /**/
     1186,
 /**/