07295a8155
As of commit6e2d7be8a1
("vhost: add copy of virtio headers"), we bundle the appropriate headers that were causing the Travis-CI build to fail, so re-enable vhost in the Travis build. This reverts commit2d0246da83
. Change-Id: Ib52f66c91264aee138e420606ae1f16824aa3c10 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
33 lines
674 B
YAML
33 lines
674 B
YAML
language: c
|
|
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
|
|
dist: trusty
|
|
sudo: false
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libcunit1-dev
|
|
- libaio-dev
|
|
- libssl-dev
|
|
|
|
before_script:
|
|
- export MAKEFLAGS="-j$(nproc)"
|
|
- wget http://fast.dpdk.org/rel/dpdk-17.02.tar.xz
|
|
- tar xf dpdk-17.02.tar.xz
|
|
- pushd dpdk-17.02
|
|
- 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/usr/local/share/dpdk/x86_64-native-linuxapp-$CC
|
|
- popd
|
|
|
|
script:
|
|
- make CONFIG_WERROR=y
|
|
- ./unittest.sh
|