mirror of
https://github.com/AuxXxilium/kmod.git
synced 2024-12-19 21:16:11 +07:00
travis: use kernel headers for testsuite
Install kernel headers and export KDIR variable to point to right dir.
This commit is contained in:
parent
1669be85de
commit
c16b5da2d9
@ -2,12 +2,15 @@ language: c
|
||||
compiler:
|
||||
- gcc
|
||||
- clang
|
||||
before_script:
|
||||
- export KDIR="$(find /lib/modules/* -maxdepth 1 -name build | sort -n --reverse | head -1)"
|
||||
before_install:
|
||||
- sudo apt-get update
|
||||
- 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
|
||||
# Change this to your needs
|
||||
script: ./bootstrap-configure && make && make check
|
||||
notifications:
|
||||
|
Loading…
Reference in New Issue
Block a user