changeset 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 c75765dd2a19
children 647ef636a11e
files .travis.yml src/version.c
diffstat 2 files changed, 21 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    377,
+/**/
     376,
 /**/
     375,