Skip to content

Commit

Permalink
ci,build: add CentOS 8 docker build
Browse files Browse the repository at this point in the history
There's CentOS 6 & 7 already.
Add CentOS 8 to the list.

We only need to enable to PowerTools repo to get doxygen & avahi-devel,
since they've been moved to that repo in 8.

Signed-off-by: Alexandru Ardelean <[email protected]>
  • Loading branch information
commodo committed Apr 6, 2020
1 parent 7567322 commit 1eadf73
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ matrix:
dist: bionic
env:
- EXTRA_SSH=-oHostKeyAlgorithms=+ssh-dss
- os: linux
env:
- OS_TYPE=centos_docker
- OS_VERSION=8
- EXTRA_SSH=-oHostKeyAlgorithms=+ssh-dss
- os: linux
env:
- OS_TYPE=ubuntu_docker
Expand Down
11 changes: 9 additions & 2 deletions CI/travis/before_install_linux
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,15 @@
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 doxygen libaio-devel \
avahi-devel bzip2 gzip rpm rpm-build redhat-lsb-core
yum -y install cmake libxml2-devel libusb1-devel libaio-devel \
bzip2 gzip rpm rpm-build redhat-lsb-core python3-pip

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
}

handle_centos_docker() {
Expand Down

0 comments on commit 1eadf73

Please sign in to comment.