]> git.ipfire.org Git - thirdparty/kmod.git/blobdiff - .travis.yml
modprobe: Write error messages to syslog if stderr is unavailable
[thirdparty/kmod.git] / .travis.yml
index 262a1c559e4d3c676b939eb25870c5599b8f4692..2adb3c62c49376966c2b7dbebef6fdd583a7e782 100644 (file)
@@ -1,14 +1,30 @@
 language: c
-compiler:
-  - gcc
-  - clang
+dist: focal
+
+matrix:
+  include:
+    - compiler: gcc
+      env: CC=gcc
+    - compiler: clang
+      env: CC=clang
+
 before_install:
-  - sudo apt-get update
+  - sudo apt-get update -qq
+  - sudo apt-get install -qq libzstd-dev zstd
   - sudo apt-get install -qq liblzma-dev
   - sudo apt-get install -qq zlib1g-dev
   - sudo apt-get install -qq xsltproc docbook-xsl
-# Change this to your needs
-script: ./bootstrap-configure && make CFLAGS="-Wno-error" && make CFLAGS="-Wno-error" check
+  - sudo apt-get install -qq cython
+  - sudo apt-get install -qq linux-headers-generic
+
+before_script:
+  - unset PYTHON_CFLAGS # hack to broken travis setup
+  - export KDIR="$(find  /lib/modules/* -maxdepth  1 -name build | sort -n --reverse | head -1)"
+
+script:
+  - ./autogen.sh c --without-openssl && make -j
+  - make -j check
+
 notifications:
   irc:
     channels: