7d7ee9691f
Change-Id: I55d2dcc3652543d221b5c60967bff148fa98505e
13 lines
249 B
Bash
Executable File
13 lines
249 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
INSTALL_PACKAGE=$(which yum || which apt)
|
|
SUDO=$(which sudo || true)
|
|
TOX="python3 -m tox"
|
|
|
|
if ! ${TOX} -e bindep ; then
|
|
.tox/bindep/bin/bindep -b | xargs -r ${SUDO} "${INSTALL_PACKAGE}" install -y
|
|
.tox/bindep/bin/bindep
|
|
fi
|