travis: run make xml, html and install(-.*)? targets

This commit is contained in:
cgzones 2017-03-18 14:32:24 +01:00
parent 82b0a6d4d5
commit 3b3e6f75d3
3 changed files with 18 additions and 4 deletions

View File

@ -102,3 +102,12 @@ script:
- make conf
- make
- make validate
after_success:
- make xml
- make html
- make DESTDIR=${HOME}/tmp install
- make DESTDIR=${HOME}/tmp install-headers
- make DESTDIR=${HOME}/tmp install-src
- make DESTDIR=${HOME}/tmp install-doc
- make DESTDIR=${HOME}/tmp install-appconfig

View File

@ -558,7 +558,9 @@ install-docs: $(tmpdir)/html
#
install-src:
rm -rf $(srcpath)/policy.old
-mv $(srcpath)/policy $(srcpath)/policy.old
if test -d $(srcpath)/policy; then \
mv $(srcpath)/policy $(srcpath)/policy.old ;\
fi
mkdir -p $(srcpath)/policy
cp -R . $(srcpath)/policy

View File

@ -1,6 +1,9 @@
#!/usr/bin/env python3
import selinux
try:
import selinux
if selinux.is_selinux_enabled():
if selinux.is_selinux_enabled():
print(selinux.security_policyvers())
except ImportError:
exit(0)