]> git.ipfire.org Git - thirdparty/kmod.git/blame - .travis.yml
kmod 22
[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:
13 - export KDIR="$(find /lib/modules/* -maxdepth 1 -name build | sort -n --reverse | head -1)"
14matrix:
15 include:
16 - compiler: gcc
17 env: MYCC=gcc
18 - compiler: gcc
19 env: MYCC=gcc-4.8
20 - compiler: gcc
21 env: MYCC=gcc-4.9
22 - compiler: clang
23 env: MYCC=clang
24script: ./bootstrap-configure && make -j && make -j check
4b9cab28
LDM
25notifications:
26 irc:
27 channels:
28 - "irc.freenode.org#kmod"
29 template:
30 - "%{commit}: %{author} - %{message}"