HPI/scripts/ci/run
Dima Gerasimov 81ca1e2c25 macos ci
2020-04-26 16:57:30 +01:00

24 lines
377 B
Bash
Executable file

#!/bin/bash -eu
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