diff .travis.yml @ 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 837684d76c74
children eca47d76ad5a
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: