minimal: Fix crash due to assertion fail
[oweals/minetest.git] / .travis.yml
index eaa8fd1ac3e686a7f17ac3fd643f86e8de0f6503..23f6d5ebb15c665ce6e174a19aebdf9ac12bc2af 100644 (file)
@@ -9,6 +9,28 @@ notifications:
 matrix:
   fast_finish: true
   include:
+
+    - env: CLANG_FORMAT=clang-format-7
+      compiler: clang
+      os: linux
+      addons:
+        apt:
+          packages: ['clang-format-7']
+          sources: &sources
+            - ubuntu-toolchain-r-test
+            - llvm-toolchain-trusty-7
+
+    - env: CLANG_TIDY=clang-tidy-7
+      compiler: clang
+      os: linux
+      script: ./util/travis/clangtidy.sh
+      addons:
+        apt:
+          packages: ['clang-7', 'clang++-7', 'clang-tools-7', 'clang-tidy-7']
+          sources: &sources
+            - ubuntu-toolchain-r-test
+            - llvm-toolchain-trusty-7
+
     - env: PLATFORM=Win32
       compiler: gcc
       os: linux
@@ -43,12 +65,12 @@ matrix:
           sources: &sources
             - ubuntu-toolchain-r-test
 
-    - env: PLATFORM=Unix COMPILER=gcc-7
+    - env: PLATFORM=Unix COMPILER=gcc-8
       compiler: gcc
       os: linux
       addons:
         apt:
-          packages: ['gcc-7', 'g++-7']
+          packages: ['gcc-8', 'g++-8']
           sources: &sources
             - ubuntu-toolchain-r-test
 
@@ -61,32 +83,33 @@ matrix:
           sources: &sources
             - llvm-toolchain-trusty-3.6
 
-    - env: PLATFORM=Unix COMPILER=clang-4.0
+    - env: PLATFORM=Unix COMPILER=clang-7
       compiler: clang
       os: linux
       addons:
         apt:
-          packages: ['clang-4.0', 'clang++-4.0']
+          packages: ['clang-7', 'clang++-7']
           sources: &sources
-            - llvm-toolchain-trusty-4.0
+            - ubuntu-toolchain-r-test
+            - llvm-toolchain-trusty-7
 
-    - env: PLATFORM=Unix COMPILER=clang-4.0 VALGRIND=1
+    - env: PLATFORM=Unix COMPILER=clang-7 FREETYPE=0
       compiler: clang
       os: linux
       addons:
         apt:
-          packages: ['valgrind', 'clang-4.0', 'clang++-4.0']
+          packages: ['clang-7', 'clang++-7']
           sources: &sources
-            - llvm-toolchain-trusty-4.0
+            - ubuntu-toolchain-r-test
+            - llvm-toolchain-trusty-7
 
-    - env: LINT=1
+    - env: PLATFORM=Unix COMPILER=clang-7 VALGRIND=1
       compiler: clang
       os: linux
       addons:
         apt:
-          packages: ['clang-format-4.0']
+          packages: ['valgrind', 'clang-7', 'clang++-7']
           sources: &sources
-            - llvm-toolchain-trusty-4.0
-
-
+            - ubuntu-toolchain-r-test
+            - llvm-toolchain-trusty-7