]> granicus.if.org Git - vim/commitdiff
patch 8.1.0776: Travis does not build a version without GUI on Linux v8.1.0776
authorBram Moolenaar <Bram@vim.org>
Sat, 19 Jan 2019 12:46:50 +0000 (13:46 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 19 Jan 2019 12:46:50 +0000 (13:46 +0100)
Problem:    Travis does not build a version without GUI on Linux.
Solution:   Add an environment for tiny features without GUI.

.travis.yml
src/version.c

index fee8b49d07cd1dd08bd58540b9c20442511503a3..cf95cd6670d856464f81f8e805a92b4285059e6b 100644 (file)
@@ -10,6 +10,7 @@ compiler:
   - gcc
 
 env:
+  - BUILD=yes TEST=test COVERAGE=no FEATURES=tiny  "CONFOPT='--disable-gui'" SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
   - BUILD=yes TEST=test COVERAGE=no FEATURES=tiny  CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
     # ASAN build
   - BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer"
@@ -28,9 +29,12 @@ sudo: false
 
 # instead of a 2*2*7 matrix (2*os + 2*compiler + 7*env),
 # 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:
   exclude:
+    - os: osx
+      env: BUILD=yes TEST=test COVERAGE=no FEATURES=tiny  CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
     - os: osx
       env: BUILD=yes TEST=test COVERAGE=no FEATURES=normal CONFOPT= SHADOWOPT="-C src/shadow" SRCDIR=./src/shadow CHECK_AUTOCONF=no
     - os: osx
index 8584fceeedd31382a8ddbc5af6a76f4a1dface88..da4b2b6f35fd5b8c83c867e09f8fedf7f3e6e737 100644 (file)
@@ -791,6 +791,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    776,
 /**/
     775,
 /**/