summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-16 12:09:30 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-16 12:09:30 +0100
commitb2e1f8a28fab71c7ef38d39226967be8c3559590 (patch)
treed7f5df0688f5fe7c692b8a9bf40f35e99ceae0cf
parentddbfe238a50dc846f2f722e9d870fc0dff5a2764 (diff)
downloadvim-git-b2e1f8a28fab71c7ef38d39226967be8c3559590.tar.gz
patch 8.2.0391: CI test coverage droppedv8.2.0391
Problem: CI test coverage dropped. Solution: Set $DISPLAY also for non-GUI builds. (James McCoy, closes #5788)
-rw-r--r--.travis.yml9
-rw-r--r--src/version.c2
2 files changed, 8 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index a4fc6dda2..28aea1980 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -72,14 +72,16 @@ _anchors:
ln -sf "$(which llvm-cov)" /home/travis/bin/gcov
fi
before_script:
- # Start virtual framebuffer to be able to test the GUI. Does not work on OS X.
- |
- if [[ "${TEST}" =~ gui ]]; then
+ # Start virtual framebuffer to be able to test the GUI. For dists newer
+ # than trusty, the "services: xvfb" setting should be used instead
+ if [[ ${TRAVIS_DIST} = trusty ]]; then
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start && sleep 3
fi
- |
- [ "${TRAVIS_CPU_ARCH}" = s390x ] || sudo modprobe snd-dummy
+ # Sound testing works without this in newer dists
+ [ ${TRAVIS_DIST} != trusty ] || sudo modprobe snd-dummy
- sudo usermod -a -G audio $USER
- do_test() { sg audio "sg $(id -gn) '$*'"; }
@@ -213,6 +215,7 @@ jobs:
compiler: gcc
env:
- *linux-huge
+ - COVERAGE=no
addons:
apt:
packages:
diff --git a/src/version.c b/src/version.c
index 33bdb39bb..78d89402a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 391,
+/**/
390,
/**/
389,