diff options
author | Chris PeBenito <pebenito@ieee.org> | 2017-08-06 18:48:45 -0400 |
---|---|---|
committer | Luis Ressel <aranea@aixah.de> | 2017-09-09 00:25:24 +0200 |
commit | fdb327ea0d5494095fd7fe3acef2a116ac708fd9 (patch) | |
tree | 0f60c45158e0e3e481fb3516a2c489dbdd7b958c /.travis.yml | |
parent | Remove deprecated interfaces older than one year old. (diff) | |
download | hardened-refpolicy-fdb327ea0d5494095fd7fe3acef2a116ac708fd9.tar.gz hardened-refpolicy-fdb327ea0d5494095fd7fe3acef2a116ac708fd9.tar.bz2 hardened-refpolicy-fdb327ea0d5494095fd7fe3acef2a116ac708fd9.zip |
.travis.yml: Use git tag instead of release tarball for selinux userspace.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index f0b886b7..ac450b96 100644 --- a/.travis.yml +++ b/.travis.yml @@ -66,14 +66,16 @@ before_install: - python -V install: - - SELINUX_USERSPACE_VERSION=20170804 + - SELINUX_USERSPACE_VERSION=libsepol-2.7 - export DESTDIR="${TRAVIS_BUILD_DIR}/selinux" - export EXPLICIT_MAKE_VARS="CFLAGS=-I$DESTDIR/usr/include LDFLAGS=-L$DESTDIR/usr/lib LDLIBS= CPPFLAGS= OPT_SUBDIRS=semodule-utils" - | if [[ "${SELINUX_USERSPACE_VERSION}" != "$(cat ${TRAVIS_BUILD_DIR}/selinux/travis.version)" ]]; then + rm -fR selinux-src + # Download current SELinux userspace tools and libraries - curl -sS -L "https://github.com/SELinuxProject/selinux/archive/${SELINUX_USERSPACE_VERSION}.tar.gz" | tar xz + git clone https://github.com/SELinuxProject/selinux.git selinux-src -b ${SELINUX_USERSPACE_VERSION} mv "selinux-${SELINUX_USERSPACE_VERSION}" selinux-src # Drop secilc to break xmlto dependence (secilc isn't used here anyway) |