travis-ci: disable DPDK kernel modules

Configure DPDK to not build any kernel modules and therefore not
require the installation of kernel headers.

Change-Id: Iff6aa3da31139c0774a15e453e34182ef3f48106
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2016-11-10 13:58:19 -07:00
parent 81d60e6f30
commit 08e982bbf5

View File

@ -12,12 +12,17 @@ addons:
- libcunit1-dev
- libaio-dev
- libssl-dev
- linux-headers-3.13.0-40-generic
before_script:
- wget http://fast.dpdk.org/rel/dpdk-16.07.tar.xz
- tar xf dpdk-16.07.tar.xz
- pushd dpdk-16.07 && make install T=x86_64-native-linuxapp-$CC DESTDIR=. && popd
- export DPDK_DIR=$PWD/dpdk-16.07/x86_64-native-linuxapp-$CC
- pushd dpdk-16.07
- make config T=x86_64-native-linuxapp-$CC
- sed -i s/CONFIG_RTE_EAL_IGB_UIO=y/CONFIG_RTE_EAL_IGB_UIO=n/ build/.config
- sed -i s/CONFIG_RTE_KNI_KMOD=y/CONFIG_RTE_KNI_KMOD=n/ build/.config
- make
- make install DESTDIR=.
- export DPDK_DIR=$PWD/x86_64-native-linuxapp-$CC
- popd
script: ./unittest.sh