1language: c 2dist: focal 3 4matrix: 5 include: 6 - compiler: gcc 7 env: CC=gcc 8 - compiler: clang 9 env: CC=clang 10 11before_install: 12 - sudo apt-get update -qq 13 - sudo apt-get install -qq libzstd-dev zstd 14 - sudo apt-get install -qq liblzma-dev 15 - sudo apt-get install -qq zlib1g-dev 16 - sudo apt-get install -qq xsltproc docbook-xsl 17 - sudo apt-get install -qq cython 18 - sudo apt-get install -qq linux-headers-generic 19 20before_script: 21 - unset PYTHON_CFLAGS # hack to broken travis setup 22 - export KDIR="$(find /lib/modules/* -maxdepth 1 -name build | sort -n --reverse | head -1)" 23 24script: 25 - ./autogen.sh c --without-openssl && make -j 26 - make -j check 27 28notifications: 29 irc: 30 channels: 31 - "irc.freenode.org#kmod" 32 template: 33 - "%{commit}: %{author} - %{message}" 34