dockerised tests

This commit is contained in:
Andrejus
2020-02-27 23:16:56 +00:00
parent 5074d56184
commit e2bd54995a
28 changed files with 488 additions and 66 deletions

20
install/11-python.sh Normal file
View File

@@ -0,0 +1,20 @@
#!/usr/bin/env bash
#
# After running this script:
# 1. python3 and pip3 are installed
#
# 1. python3 and pip3 are installed
if not_installed "pip3"; then
printf "Installing python3 and pip3...\n"
pyenv install 3.7.0
pyenv global 3.7.0
pyenv local 3.7.0
fi
printf "python3 and pip3 are installed, upgrading...\n"
pip3 install --upgrade pip
python3 --version
pip3 --version