kmod/.travis.yml
Lucas De Marchi f9928f44ed ci: update travis distro
Don't bother with gcc 4.8 vs 4.9, just use the latest one for the
distro. Update travis to ubuntu 20.04 so we can get current
dependencies.
2020-12-03 19:34:04 -08:00

34 lines
802 B
YAML

language: c
dist: focal
matrix:
include:
- compiler: gcc
env: CC=gcc
- compiler: clang
env: CC=clang
before_install:
- 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
- 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:
- "irc.freenode.org#kmod"
template:
- "%{commit}: %{author} - %{message}"