changeset 17012:00299e2deae2 v8.1.1506

patch 8.1.1506: syntax error in Travis config commit https://github.com/vim/vim/commit/b29cfb8c28a66604ebb468c73d86669870a3b06b Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 9 14:51:30 2019 +0200 patch 8.1.1506: syntax error in Travis config Problem: Syntax error in Travis config. Solution: Set AUDIODEV in another section.
author Bram Moolenaar <Bram@vim.org>
date Sun, 09 Jun 2019 15:00:05 +0200
parents c228bdff551a
children 0357c42d29fc
files .travis.yml src/version.c
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,9 +10,6 @@ compiler:
   - gcc
 
 env:
-  global:
-      # pretend to play sounds
-      AUDIODEV=null
   - &tiny-nogui
     BUILD=yes TEST=test COVERAGE=no FEATURES=tiny "CONFOPT='--disable-gui'" SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
   - &tiny
@@ -141,6 +138,8 @@ before_script:
     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
     fi
 
 script:
--- 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 */
 /**/
+    1506,
+/**/
     1505,
 /**/
     1504,