]> granicus.if.org Git - vim/commitdiff
patch 8.1.0841: travis config to get Lua on MacOS is too complicated v8.1.0841
authorBram Moolenaar <Bram@vim.org>
Mon, 28 Jan 2019 21:59:36 +0000 (22:59 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 28 Jan 2019 21:59:36 +0000 (22:59 +0100)
Problem:    Travis config to get Lua on MacOS is too complicated.
Solution:   Use an addons entry. (Ozaki Kiichi, closes 3876)

.travis.yml
src/version.c

index cf95cd6670d856464f81f8e805a92b4285059e6b..277e6feb00a2e881a1c2f81ef551a356a559b121 100644 (file)
@@ -82,6 +82,10 @@ addons:
       - tcl-dev
       - cscope
       - libgtk2.0-dev
+  homebrew:
+    packages:
+      - lua
+    update: true
 
 before_install:
   - rvm reset
@@ -93,7 +97,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 export HOMEBREW_NO_AUTO_UPDATE=1; brew update; brew install lua; export LUA_PREFIX=/usr/local; fi
+  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then 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 ae28d083d5b9cc740b59a5d0a2742db652050770..a90d52e66744fe1eb06eb975678e55528868a970 100644 (file)
@@ -783,6 +783,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    841,
 /**/
     840,
 /**/