Skip to content

Commit

Permalink
Merge pull request #1186 from MetPX/fix_u20_github_tests_maybe
Browse files Browse the repository at this point in the history
fix Ubuntu 20.04 flow tests
  • Loading branch information
petersilva authored Aug 26, 2024
2 parents 728ab42 + aad8022 commit f7563bc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions travis/flow_autoconfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,17 @@ sudo apt-key adv --keyserver "hkps.pool.sks-keyservers.net" --recv-keys "0x6B73A
sudo add-apt-repository -y ppa:ssc-hpc-chp-spc/metpx
sudo apt update
sudo apt -y upgrade
sudo apt -y install python3-setuptools python3-magic python-setuptools python3-requests
sudo apt -y install python3-setuptools python3-magic python-setuptools python3-paramiko python3-requests
sudo apt -y install metpx-libsr3c metpx-libsr3c-dev metpx-sr3c
sudo apt -y install metpx-libsr3c metpx-libsr3c-dev metpx-sr3c
sudo apt -y install erlang-nox erlang-diameter erlang-eldap findutils git librabbitmq4 net-tools openssh-client openssh-server python3-pip rabbitmq-server xattr wget

${pip_install} -U pip
${pip_install} pyftpdlib paramiko net-tools

# The dependencies that are installed using apt are only available to system default Python versions (e.g. Python 3.8 on Ubuntu 20.04)
# If we are testing on a non-default Python version, we need to ensure these dependencies are still installed, so we use pip.
# See issue #407, #445.
for PKG in amqp appdirs dateparser flufl.lock humanize jsonpickle netifaces paho-mqtt psutil rangehttpserver watchdog xattr ; do
for PKG in amqp appdirs dateparser flufl.lock humanize jsonpickle netifaces paho-mqtt psutil rangehttpserver watchdog xattr paramiko pyftpdlib net-tools; do
PKG_INSTALLED="`pip3 list | grep ${PKG}`"
if [ "$?" == "0" ] ; then
echo "$PKG is already installed"
Expand Down

0 comments on commit f7563bc

Please sign in to comment.