]> git.ipfire.org Git - thirdparty/strongswan.git/blobdiff - .travis.yml
configure: Make sure Python is available for static builds
[thirdparty/strongswan.git] / .travis.yml
index 3a62e2c157090fe47dfb10cf27747ec2d9c7a0fb..c827f02175357ef186236465f9531cf48a72d236 100644 (file)
@@ -1,7 +1,7 @@
 language: c
 
-sudo: required
-dist: xenial
+os: linux
+dist: bionic
 
 # don't build tags separately
 if: tag IS blank
@@ -35,21 +35,39 @@ env:
     - LEAK_DETECTIVE=no
     - MONOLITHIC=no
 
-matrix:
+jobs:
   include:
     - env: TEST=sonarcloud
       if: type = push AND env(SONAR_TOKEN) IS present
       git:
         depth: false
+      cache:
+        directories:
+          - $HOME/.sonar-cache
       addons:
         sonarcloud:
           organization: "strongswan"
+    - env: TEST=lgtm
+      if: type = push AND env(LGTM_TOKEN) IS present
+      git:
+        depth: false
     - env: TEST=osx
       compiler: clang
       os: osx
     - env: TEST=all
     - env: TEST=all
       compiler: clang
+    - env: TEST=all
+      arch: arm64
+    - env: TEST=all
+      arch: ppc64le
+    - env: TEST=all
+      arch: s390x
+    - env: TEST=all
+      dist: xenial
+    - env: TEST=all
+      dist: xenial
+      compiler: clang
     - env: TEST=all MONOLITHIC=yes
     - env: TEST=all MONOLITHIC=yes
       compiler: clang
@@ -78,6 +96,8 @@ matrix:
     - env: TEST=printf-builtin LEAK_DETECTIVE=yes
     - env: TEST=printf-builtin LEAK_DETECTIVE=yes
       compiler: clang
+    - env: TEST=nm
+    - env: TEST=nm-no-glib
     # the crypto plugins are build-tested with clang via "all" above
     - env: TEST=botan
     - env: TEST=botan LEAK_DETECTIVE=yes
@@ -86,7 +106,9 @@ matrix:
     - env: TEST=openssl
     - env: TEST=openssl LEAK_DETECTIVE=yes
     - env: TEST=openssl-1.0
+      dist: xenial
     - env: TEST=openssl-1.0 LEAK_DETECTIVE=yes
+      dist: xenial
     - env: TEST=gcrypt
     - env: TEST=gcrypt LEAK_DETECTIVE=yes
     - env: TEST=apidoc