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
|
||||
script: tests/script/runtests.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
|
||||
echo "Installing Pip..."
|
||||
if ! command -v easy_install3 >/dev/null 2>&1; then
|
||||
_install "python3-setuptools"
|
||||
fi
|
||||
|
||||
if ! command -v easy_install3 >/dev/null 2>&1; then
|
||||
die "easy_install3 not available, can't install pip3"
|
||||
fi
|
||||
_install "python3-pip"
|
||||
|
||||
$SUDO_CMD easy_install3 pip3
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue