Skip to content

Commit

Permalink
Centos: Centos 6 doesn't support sphinx properly
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Getz <[email protected]>
  • Loading branch information
rgetz committed Apr 8, 2020
1 parent 30bec38 commit 746b57f
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions CI/travis/before_install_linux
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,25 @@ handle_centos() {
# FIXME: see about adding `libserialport-dev` from EPEL ; maybe libusb-1.0.0-devel...
yum -y groupinstall 'Development Tools'
yum -y install cmake libxml2-devel libusb1-devel libaio-devel \
bzip2 gzip rpm rpm-build redhat-lsb-core python3-pip
bzip2 gzip rpm rpm-build redhat-lsb-core

# CENTOS 6 doesn't include python 3, it's too old.
if is_centos_at_least_ver "7" ; then
yum -y install python3-pip
fi

if is_centos_at_least_ver "8" ; then
# On CentOS 8, avahi-devel & doxygen are in this repo; enable it
yum config-manager --set-enabled PowerTools
fi

yum -y install doxygen avahi-devel
install_sphinx
# CENTOS 6 will has issues with sphinx
if is_centos_at_least_ver "7" ; then
yum -y install doxygen
install_sphinx
fi

yum -y install avahi-devel
}

handle_centos_docker() {
Expand Down

0 comments on commit 746b57f

Please sign in to comment.