summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-20 18:12:59 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-20 18:12:59 +0100
commit98be7fecac80b30c5a323b67903eb1d0094007ea (patch)
tree6bbe7c9649856fd5c4aecd3a63ba213136d461f0 /ci
parentff78155aa1755aced96a3b343e81939c94aac721 (diff)
downloadvim-git-98be7fecac80b30c5a323b67903eb1d0094007ea.tar.gz
patch 8.2.0417: Travis CI config can be improvedv8.2.0417
Problem: Travis CI config can be improved. Solution: Remove COVERAGE variable. Add load-snd-dummy script. add "-i NONE" to avoid messages about viminfo. (Ozaki Kiichi, closes #5813)
Diffstat (limited to 'ci')
-rw-r--r--ci/load-snd-dummy.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/ci/load-snd-dummy.sh b/ci/load-snd-dummy.sh
new file mode 100644
index 000000000..5ceb7cedf
--- /dev/null
+++ b/ci/load-snd-dummy.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+set -e
+
+if ! modprobe snd-dummy; then
+ # snd-dummy is contained in linux-modules-extra (if exists)
+ apt install -y "linux-modules-extra-$(uname -r)"
+ modprobe snd-dummy
+fi