diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-03-13 15:44:49 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-03-13 15:44:49 +0100 |
commit | d47e6f0b4cc82e3ccdc4605bb1811861a5b2d115 (patch) | |
tree | db3d2d6c7f46803679cd63e1dc66d891ede4d0da /.travis.yml | |
parent | fa5d8a191d0f2deacffebf62dced5c2198cc0880 (diff) | |
download | vim-git-d47e6f0b4cc82e3ccdc4605bb1811861a5b2d115.tar.gz |
patch 8.2.0377: no CI test for a big-endian systemv8.2.0377
Problem: No CI test for a big-endian system.
Solution: Test with s390x. (James McCoy, closes #5772)
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 76f425f23..3f55cc90b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,7 @@ anchors: sources: # Need msgfmt 0.19.8 to be able to generate .desktop files - sourceline: 'ppa:ricotz/toolchain' - packages: + packages: &linux-packages - autoconf - clang - lcov @@ -73,9 +73,13 @@ anchors: fi before_script: # Start virtual framebuffer to be able to test the GUI. Does not work on OS X. - - export DISPLAY=:99.0 - - sh -e /etc/init.d/xvfb start && sleep 3 - - sudo modprobe snd-dummy + - | + if [[ "${TEST}" =~ gui ]]; then + export DISPLAY=:99.0 + sh -e /etc/init.d/xvfb start && sleep 3 + fi + - | + [ "${TRAVIS_CPU_ARCH}" = s390x ] || sudo modprobe snd-dummy - sudo usermod -a -G audio $USER - do_test() { sg audio "sg $(id -gn) '$*'"; } @@ -202,6 +206,17 @@ matrix: - *normal - *shadowopt - <<: *linux + arch: s390x + name: huge/gcc-s390x + compiler: gcc + env: + - *linux-huge + addons: + apt: + packages: + - *linux-packages + - libtool-bin + - <<: *linux name: huge+coverage/clang compiler: clang env: *linux-huge |