changeset 10365:0dd0c7fb1096 v8.0.0077

commit https://github.com/vim/vim/commit/e3505dfc858260a21f2bbc6056f5769dea2f273d Author: Bram Moolenaar <Bram@vim.org> Date: Fri Nov 11 21:57:45 2016 +0100 patch 8.0.0077 Problem: The GUI code is not tested by Travis. Solution: Install the virtual framebuffer.
author Christian Brabandt <cb@256bit.org>
date Fri, 11 Nov 2016 22:00:04 +0100
parents 29f8985a35cb
children cedf99a9a1b1
files .travis.yml src/version.c
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.travis.yml
+++ b/.travis.yml
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    77,
+/**/
     76,
 /**/
     75,