From 6330f30086f59c336bf82b30823532e5db8929d3 Mon Sep 17 00:00:00 2001 From: Aaron Conole Date: Tue, 27 Feb 2018 10:11:38 -0500 Subject: travis: build the selinux policy under linux When performing a linux build, create the selinux policy. This ensures that the selinux policy files are at least 'compile' tested when changes occur. Signed-off-by: Aaron Conole Signed-off-by: Ben Pfaff --- .travis.yml | 1 + .travis/linux-build.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index ef907caea..cf37e8c2b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,7 @@ addons: - libnuma-dev - python-sphinx - libelf-dev + - selinux-policy-dev before_install: ./.travis/${TRAVIS_OS_NAME}-prepare.sh diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh index 8fd9aa0f1..ee615c9ad 100755 --- a/.travis/linux-build.sh +++ b/.travis/linux-build.sh @@ -98,6 +98,8 @@ fi configure_ovs $EXTRA_OPTS $* +make selinux-policy + # Only build datapath if we are testing kernel w/o running testsuite if [ "$KERNEL" ] && [ ! "$TESTSUITE" ] && [ ! "$DPDK" ]; then cd datapath -- cgit v1.2.1