]> granicus.if.org Git - vim/commitdiff
patch 8.0.0077 v8.0.0077
authorBram Moolenaar <Bram@vim.org>
Fri, 11 Nov 2016 20:57:45 +0000 (21:57 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 11 Nov 2016 20:57:45 +0000 (21:57 +0100)
Problem:    The GUI code is not tested by Travis.
Solution:   Install the virtual framebuffer.

.travis.yml
src/version.c

index 0acbf90ea0132a32f7df7c2f37d549964228def1..e9464aec97b0b1c89f34732eb58211f4b0b8afe0 100644 (file)
@@ -69,6 +69,12 @@ before_install:
     # Lua is not installed on Travis OSX
   - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install lua; export LUA_PREFIX=/usr/local; fi
 
+# Start virtual framebuffer to be able to test the GUI.
+before_script:
+  - "export DISPLAY=:99.0"
+  - "sh -e /etc/init.d/xvfb start"
+  - sleep 3 # give xvfb some time to start
+
 script:
   - NPROC=$(getconf _NPROCESSORS_ONLN)
   - if [ "$CHECK_AUTOCONF" = "yes" -a "$CC" = "gcc" ]; then make -C src autoconf; fi
index 1707ec4ed4ae7c170dbaf5b5cf25f61e59d277ba..9f3810ef842784f5084090251ca2c3ef1e57b264 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    77,
 /**/
     76,
 /**/