numam-spdk/.travis.yml
Daniel Verkamp 7c3214a0ac unittest.sh: move 'make' command into .travis.yml
The unittest.sh script now assumes that the build has already completed
before it is run.

Change-Id: I814b7bf462e8596986b80fe31a93c26c82db7d57
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-01-25 15:19:23 -07:00

31 lines
627 B
YAML

language: c
compiler:
- gcc
- clang
sudo: false
addons:
apt:
packages:
- libcunit1-dev
- libaio-dev
- libssl-dev
before_script:
- wget http://fast.dpdk.org/rel/dpdk-16.11.tar.xz
- tar xf dpdk-16.11.tar.xz
- pushd dpdk-16.11
- 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