]> git.ipfire.org Git - thirdparty/kmod.git/blame - .travis.yml
depmod: prevent module dependency files missing during depmod invocation
[thirdparty/kmod.git] / .travis.yml
CommitLineData
4b9cab28 1language: c
4b9cab28 2before_install:
01af61db
LDM
3 - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
4 - sudo apt-get update -qq
4b9cab28
LDM
5 - sudo apt-get install -qq liblzma-dev
6 - sudo apt-get install -qq zlib1g-dev
7 - sudo apt-get install -qq xsltproc docbook-xsl
29bc329f 8 - sudo apt-get install -qq cython
c16b5da2 9 - sudo apt-get install -qq linux-headers-generic
01af61db
LDM
10 - if [ "$MYCC" = "gcc-4.8" ]; then sudo apt-get install -qq gcc-4.8; sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90; gcc --version; fi
11 - if [ "$MYCC" = "gcc-4.9" ]; then sudo apt-get install -qq gcc-4.9; sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 90; gcc --version; fi
12before_script:
9132c59e 13 - unset PYTHON_CFLAGS # hack to broken travis setup
01af61db
LDM
14 - export KDIR="$(find /lib/modules/* -maxdepth 1 -name build | sort -n --reverse | head -1)"
15matrix:
16 include:
17 - compiler: gcc
18 env: MYCC=gcc
19 - compiler: gcc
20 env: MYCC=gcc-4.8
21 - compiler: gcc
22 env: MYCC=gcc-4.9
23 - compiler: clang
24 env: MYCC=clang
028d4df3 25script: ./autogen.sh c && make -j && make -j check
4b9cab28
LDM
26notifications:
27 irc:
28 channels:
29 - "irc.freenode.org#kmod"
30 template:
31 - "%{commit}: %{author} - %{message}"