1language: c 2before_install: 3 - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y 4 - sudo apt-get update -qq 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 8 - sudo apt-get install -qq cython 9 - sudo apt-get install -qq linux-headers-generic 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 - unset PYTHON_CFLAGS # hack to broken travis setup 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 25script: ./autogen.sh c --without-openssl && make -j && make -j check 26notifications: 27 irc: 28 channels: 29 - "irc.freenode.org#kmod" 30 template: 31 - "%{commit}: %{author} - %{message}" 32