comparison .travis.yml @ 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 0b0b9864c811
children 2579df47c3b6
comparison
equal deleted inserted replaced
10364:29f8985a35cb 10365:0dd0c7fb1096
67 before_install: 67 before_install:
68 - pip install --user cpp-coveralls 68 - pip install --user cpp-coveralls
69 # Lua is not installed on Travis OSX 69 # Lua is not installed on Travis OSX
70 - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install lua; export LUA_PREFIX=/usr/local; fi 70 - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install lua; export LUA_PREFIX=/usr/local; fi
71 71
72 # Start virtual framebuffer to be able to test the GUI.
73 before_script:
74 - "export DISPLAY=:99.0"
75 - "sh -e /etc/init.d/xvfb start"
76 - sleep 3 # give xvfb some time to start
77
72 script: 78 script:
73 - NPROC=$(getconf _NPROCESSORS_ONLN) 79 - NPROC=$(getconf _NPROCESSORS_ONLN)
74 - if [ "$CHECK_AUTOCONF" = "yes" -a "$CC" = "gcc" ]; then make -C src autoconf; fi 80 - if [ "$CHECK_AUTOCONF" = "yes" -a "$CC" = "gcc" ]; then make -C src autoconf; fi
75 - if [ "x$SHADOWOPT" != x ]; then make -C src shadow; fi 81 - if [ "x$SHADOWOPT" != x ]; then make -C src shadow; fi
76 - (cd ${SRCDIR} && ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && if [ "$BUILD" = "yes" ]; then make -j$NPROC; fi) 82 - (cd ${SRCDIR} && ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && if [ "$BUILD" = "yes" ]; then make -j$NPROC; fi)