numam-spdk/.travis.yml
Daniel Verkamp b23bc69cfa travis: switch to using the dpdk submodule
Change-Id: I96cb0bc89e793126984899a4ded4e3a1dee56107
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/362045
Tested-by: <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-05-22 22:17:55 -04:00

34 lines
604 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)"
- if [ "$CC" = gcc ]; then
wget https://downloads.sourceforge.net/project/astyle/astyle/astyle%203.0/astyle_3.0_linux.tar.gz;
tar xf astyle_3.0_linux.tar.gz;
pushd astyle/build/gcc;
make;
export PATH=$PWD/bin:$PATH;
popd;
fi
- git submodule update --init
script:
- ./scripts/check_format.sh
- ./configure --enable-werror
- make
- ./unittest.sh