]> granicus.if.org Git - vim/commitdiff
patch 8.2.0384: Travis CI has warnings v8.2.0384
authorBram Moolenaar <Bram@vim.org>
Sun, 15 Mar 2020 14:10:11 +0000 (15:10 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 15 Mar 2020 14:10:11 +0000 (15:10 +0100)
Problem:    Travis CI has warnings.
Solution:   Avoid warnings, clean up the config. (Ozaki Kiichi, closes #5779)

.travis.yml
src/version.c

index 3f55cc90bdd155ec021b6acf7d5dddfb6f590f08..a4fc6dda2ced8c646a86773691296fa68f5b40b6 100644 (file)
@@ -1,6 +1,6 @@
 language: c
 
-anchors:
+_anchors:
   envs:
     - &tiny-nogui
       BUILD=yes TEST=test COVERAGE=no FEATURES=tiny "CONFOPT='--disable-gui'" SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
@@ -85,6 +85,10 @@ anchors:
 
   osx: &osx
     os: osx
+    before_script:
+      - do_test() { "$@"; }
+
+  homebrew: &osx-homebrew
     addons:
       homebrew:
         packages:
@@ -93,13 +97,11 @@ anchors:
     cache:
       directories:
         - /usr/local/Homebrew/Library/Homebrew/vendor/
-        - /usr/local/Homebrew/Library/Taps/
+        - /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/
     before_install:
       - rvm reset
       # Lua is not installed on Travis OSX
       - export LUA_PREFIX=/usr/local
-    before_script:
-      - do_test() { "$@"; }
 
   coverage: &coverage
     - ~/.local/bin/coveralls -b "${SRCDIR}" -x .xs -e "${SRCDIR}"/if_perl.c -e "${SRCDIR}"/xxd -e "${SRCDIR}"/libvterm --encodings utf-8
@@ -111,8 +113,6 @@ anchors:
         asan_symbolize < "${log}"
       done < <(find . -type f -name 'asan.*' -size +0)
 
-sudo: false
-
 branches:
   except:
     - /^v[0-9]/
@@ -155,7 +155,7 @@ script:
 # exclude some builds on mac os x and linux
 # on mac os x "tiny" is always without GUI
 # linux: 2*compiler + 5*env + mac: 2*compiler + 2*env
-matrix:
+jobs:
   include:
     - <<: *osx
       name: tiny-nogui/clang
@@ -166,10 +166,12 @@ matrix:
       compiler: gcc
       env: *tiny-nogui
     - <<: *osx
+      <<: *osx-homebrew
       name: huge/clang
       compiler: clang
       env: *osx-huge
     - <<: *osx
+      <<: *osx-homebrew
       name: huge/gcc
       compiler: gcc
       env: *osx-huge
index b7ae44476d4df12e626a95de907c59e516a5ef7a..e9e1ec908b22a14ccef8a4ca7c4ffbfe3c2a75ae 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    384,
 /**/
     383,
 /**/