numam-spdk/.travis.yml
Daniel Verkamp 2b1d8415cd travis: add uuid-dev dependency for lvol
Change-Id: I9b279803a9501d6f9486cf6927a50998ce2207b7
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/378833
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Piotr Pelpliński <piotr.pelplinski@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2017-09-18 11:59:31 -04:00

35 lines
621 B
YAML

language: c
compiler:
- gcc
- clang
dist: trusty
sudo: false
addons:
apt:
packages:
- libcunit1-dev
- libaio-dev
- libssl-dev
- uuid-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