]> granicus.if.org Git - vim/commitdiff
patch 8.2.0377: no CI test for a big-endian system v8.2.0377
authorBram Moolenaar <Bram@vim.org>
Fri, 13 Mar 2020 14:44:49 +0000 (15:44 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 13 Mar 2020 14:44:49 +0000 (15:44 +0100)
Problem:    No CI test for a big-endian system.
Solution:   Test with s390x. (James McCoy, closes #5772)

.travis.yml
src/version.c

index 76f425f23828dbc070ef3330c7c6b1c0a16e5843..3f55cc90bdd155ec021b6acf7d5dddfb6f590f08 100644 (file)
@@ -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) '$*'"; }
 
@@ -201,6 +205,17 @@ matrix:
       env:
         - *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
index a1a4a887c1cd6b34d338a5e16b74bafb121b73d7..14081420373a40a5b7206524e4976e992b6c8a38 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    377,
 /**/
     376,
 /**/