comparison .travis.yml @ 19641:73b2c928a8aa

patch 8.2.0377: no CI test for a big-endian system Commit: https://github.com/vim/vim/commit/d47e6f0b4cc82e3ccdc4605bb1811861a5b2d115 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 13 15:44:49 2020 +0100 patch 8.2.0377: no CI test for a big-endian system Problem: No CI test for a big-endian system. Solution: Test with s390x. (James McCoy, closes https://github.com/vim/vim/issues/5772)
author Bram Moolenaar <Bram@vim.org>
date Fri, 13 Mar 2020 15:45:06 +0100
parents cb4543c0e89a
children 7e75be5a3b74
comparison
equal deleted inserted replaced
19640:c75765dd2a19 19641:73b2c928a8aa
30 addons: 30 addons:
31 apt: 31 apt:
32 sources: 32 sources:
33 # Need msgfmt 0.19.8 to be able to generate .desktop files 33 # Need msgfmt 0.19.8 to be able to generate .desktop files
34 - sourceline: 'ppa:ricotz/toolchain' 34 - sourceline: 'ppa:ricotz/toolchain'
35 packages: 35 packages: &linux-packages
36 - autoconf 36 - autoconf
37 - clang 37 - clang
38 - lcov 38 - lcov
39 - gettext 39 - gettext
40 - libcanberra-dev 40 - libcanberra-dev
71 if [[ "${CC}" = "clang" ]]; then 71 if [[ "${CC}" = "clang" ]]; then
72 ln -sf "$(which llvm-cov)" /home/travis/bin/gcov 72 ln -sf "$(which llvm-cov)" /home/travis/bin/gcov
73 fi 73 fi
74 before_script: 74 before_script:
75 # Start virtual framebuffer to be able to test the GUI. Does not work on OS X. 75 # Start virtual framebuffer to be able to test the GUI. Does not work on OS X.
76 - export DISPLAY=:99.0 76 - |
77 - sh -e /etc/init.d/xvfb start && sleep 3 77 if [[ "${TEST}" =~ gui ]]; then
78 - sudo modprobe snd-dummy 78 export DISPLAY=:99.0
79 sh -e /etc/init.d/xvfb start && sleep 3
80 fi
81 - |
82 [ "${TRAVIS_CPU_ARCH}" = s390x ] || sudo modprobe snd-dummy
79 - sudo usermod -a -G audio $USER 83 - sudo usermod -a -G audio $USER
80 - do_test() { sg audio "sg $(id -gn) '$*'"; } 84 - do_test() { sg audio "sg $(id -gn) '$*'"; }
81 85
82 osx: &osx 86 osx: &osx
83 os: osx 87 os: osx
200 compiler: gcc 204 compiler: gcc
201 env: 205 env:
202 - *normal 206 - *normal
203 - *shadowopt 207 - *shadowopt
204 - <<: *linux 208 - <<: *linux
209 arch: s390x
210 name: huge/gcc-s390x
211 compiler: gcc
212 env:
213 - *linux-huge
214 addons:
215 apt:
216 packages:
217 - *linux-packages
218 - libtool-bin
219 - <<: *linux
205 name: huge+coverage/clang 220 name: huge+coverage/clang
206 compiler: clang 221 compiler: clang
207 env: *linux-huge 222 env: *linux-huge
208 after_success: *coverage 223 after_success: *coverage
209 - <<: *linux 224 - <<: *linux