Permalink
Browse files

patch 8.0.0077

Problem:    The GUI code is not tested by Travis.
Solution:   Install the virtual framebuffer.
  • Loading branch information...
1 parent 79cbdcb commit e3505dfc858260a21f2bbc6056f5769dea2f273d @brammool brammool committed Nov 11, 2016
Showing with 8 additions and 0 deletions.
  1. +6 −0 .travis.yml
  2. +2 −0 src/version.c
View
@@ -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
View
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 77,
+/**/
76,
/**/
75,

0 comments on commit e3505df

Please sign in to comment.