add python3 and pip3 to travis yml
This commit is contained in:
parent
517fe4a632
commit
bcce50471e
2 changed files with 6 additions and 7 deletions
|
@ -4,3 +4,8 @@ compiler:
|
||||||
- gcc
|
- gcc
|
||||||
script: tests/script/runtests.sh
|
script: tests/script/runtests.sh
|
||||||
before_install: tests/script/bootstrap.sh
|
before_install: tests/script/bootstrap.sh
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- "python3"
|
||||||
|
- "python3-pip"
|
||||||
|
|
|
@ -167,13 +167,7 @@ if [ -z $COMMON_SOURCED ]; then
|
||||||
|
|
||||||
if ! command -v pip3 >/dev/null 2>&1; then
|
if ! command -v pip3 >/dev/null 2>&1; then
|
||||||
echo "Installing Pip..."
|
echo "Installing Pip..."
|
||||||
if ! command -v easy_install3 >/dev/null 2>&1; then
|
_install "python3-pip"
|
||||||
_install "python3-setuptools"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! command -v easy_install3 >/dev/null 2>&1; then
|
|
||||||
die "easy_install3 not available, can't install pip3"
|
|
||||||
fi
|
|
||||||
|
|
||||||
$SUDO_CMD easy_install3 pip3
|
$SUDO_CMD easy_install3 pip3
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue