diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-06-09 15:21:27 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-06-09 15:21:27 +0200 |
commit | a90998d93a6e8deb686dd67a73288db2ca08dc89 (patch) | |
tree | 0bba67426ce86f15a5ab1a064bf52be192c9114d | |
parent | b29cfb8c28a66604ebb468c73d86669870a3b06b (diff) | |
download | vim-git-a90998d93a6e8deb686dd67a73288db2ca08dc89.tar.gz |
patch 8.1.1507: sound test still fails on Travisv8.1.1507
Problem: Sound test still fails on Travis.
Solution: Try another dummy sound approach.
-rw-r--r-- | .travis.yml | 15 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 5 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml index 4e7df286d..407ee725b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -121,25 +121,16 @@ before_install: if [[ "${TRAVIS_OS_NAME}" = "linux" ]] && [[ "${CC}" = "clang" ]]; then ln -sf "$(which llvm-cov)" /home/travis/bin/gcov fi - # Should make sound work (might not all be needed) - - | - if [[ "${TRAVIS_OS_NAME}" = "linux" ]]; then - sudo apt-get update -qq - sudo usermod -a -G audio travis - sudo apt-get install -y portaudio19-dev - sudo apt-get install -y libasound2-dev alsa-utils alsa-oss - sudo bash test/prep-dummy-soundcard.sh - sudo apt-get install -y lame - fi before_script: # Start virtual framebuffer to be able to test the GUI. Does not work on OS X. + # Install dummy device for sound. - | if [[ "${TRAVIS_OS_NAME}" = "linux" ]]; then export DISPLAY=:99.0 sh -e /etc/init.d/xvfb start && sleep 3 - # pretend to play sound - export AUDIODEV=null + sudo modprobe snd-dummy + sudo usermod -a -G audio $USER fi script: diff --git a/src/version.c b/src/version.c index 5c1287264..6b6fd198e 100644 --- a/src/version.c +++ b/src/version.c @@ -778,6 +778,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1507, +/**/ 1506, /**/ 1505, |