mirror of
https://github.com/SELinuxProject/selinux
synced 2025-02-12 07:38:21 +00:00
The current Travis CI runs the userspace tooling and libraries against policy files, but cannot test against an SELinux enabled kernel. Thus, some tests are not being done in the CI. Travis, unfortunately only provides Ubuntu images, so in order to run against a modern distro with SELinux in enforcing mode, we need to launch a KVM with something like Fedora. This patch enables this support by launching a Fedora32 Cloud Image with the SELinux userspace library passed on from the Travis clone, it then builds and replaces the current SELinux bits on the Fedora32 image and runs the SELinux testsuite. The cloud image run can be controlled with the TRAVIS env variable: TRAVIS_CLOUD_IMAGE_VERSION. That variable takes the major and minor version numbers in a colon delimited string, eg: "32:1.6". Signed-off-by: William Roberts <william.c.roberts@intel.com> Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com> |
||
---|---|---|
.. | ||
ci | ||
.gitignore | ||
env_use_destdir | ||
Lindent | ||
make-update | ||
release | ||
run-flake8 | ||
run-scan-build |