aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml5
-rw-r--r--tests/script/bootstrap/common.sh8
2 files changed, 6 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index 630965a..dce5451 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,3 +4,8 @@ compiler:
- gcc
script: tests/script/runtests.sh
before_install: tests/script/bootstrap.sh
+addons:
+ apt:
+ packages:
+ - "python3"
+ - "python3-pip"
diff --git a/tests/script/bootstrap/common.sh b/tests/script/bootstrap/common.sh
index 20c1037..221dd21 100644
--- a/tests/script/bootstrap/common.sh
+++ b/tests/script/bootstrap/common.sh
@@ -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