2013-04-30 04:21:21 +01:00
|
|
|
language: c
|
|
|
|
before_install:
|
2015-02-04 07:44:04 +00:00
|
|
|
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
|
|
|
- sudo apt-get update -qq
|
2013-04-30 04:21:21 +01:00
|
|
|
- sudo apt-get install -qq liblzma-dev
|
|
|
|
- sudo apt-get install -qq zlib1g-dev
|
|
|
|
- sudo apt-get install -qq xsltproc docbook-xsl
|
2014-04-07 14:55:47 +01:00
|
|
|
- sudo apt-get install -qq cython
|
2015-02-03 03:21:11 +00:00
|
|
|
- sudo apt-get install -qq linux-headers-generic
|
2015-02-04 07:44:04 +00:00
|
|
|
- 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
|
|
|
|
- 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
|
|
|
|
before_script:
|
2016-01-11 12:48:33 +00:00
|
|
|
- unset PYTHON_CFLAGS # hack to broken travis setup
|
2015-02-04 07:44:04 +00:00
|
|
|
- export KDIR="$(find /lib/modules/* -maxdepth 1 -name build | sort -n --reverse | head -1)"
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- compiler: gcc
|
|
|
|
env: MYCC=gcc
|
|
|
|
- compiler: gcc
|
|
|
|
env: MYCC=gcc-4.8
|
|
|
|
- compiler: gcc
|
|
|
|
env: MYCC=gcc-4.9
|
|
|
|
- compiler: clang
|
|
|
|
env: MYCC=clang
|
2019-02-04 22:34:51 +00:00
|
|
|
script: ./autogen.sh c --without-openssl && make -j && make -j check
|
2013-04-30 04:21:21 +01:00
|
|
|
notifications:
|
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "irc.freenode.org#kmod"
|
|
|
|
template:
|
|
|
|
- "%{commit}: %{author} - %{message}"
|