This commit is contained in:
Dima Gerasimov 2020-04-26 16:54:34 +01:00 committed by karlicoss
parent 526e7d3fa9
commit 81ca1e2c25
3 changed files with 34 additions and 2 deletions

View file

@ -3,5 +3,22 @@
cd "$(dirname "$0")"
cd ../..
if ! command -v sudo; then
# CI or Docker sometimes doesn't have it, so useful to have a dummy
function sudo {
"$@"
}
fi
if ! [ -z "$CI" ]; then
# install OS specific stuff here
if [[ "$OSTYPE" == "darwin"* ]]; then
# macos
:
else
:
fi
fi
pip3 install --user tox
tox