Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Hsu <kennethhsu@gmail.com>2021-01-10 00:04:15 +0300
committerKenneth Hsu <kennethhsu@gmail.com>2021-01-10 05:45:14 +0300
commit9f95c80bcfeadb8f1e7c6837e357b3d6717aff03 (patch)
tree902052f336b15000b0b3521ca80725d7e33f5b7d
parent338f467111f6bdcde971f93b8376daba42827498 (diff)
Install python3-pip in integration tests.
The latest selenium/standalone-firefox image is based on Ubuntu 20.04, which doesn't support Python 2.
-rwxr-xr-xpipeline/stage_integrationtests/job.sh4
-rwxr-xr-xpipeline/stage_integrationtests/trigger.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/pipeline/stage_integrationtests/job.sh b/pipeline/stage_integrationtests/job.sh
index 12f6762c9..1ed61d7a8 100755
--- a/pipeline/stage_integrationtests/job.sh
+++ b/pipeline/stage_integrationtests/job.sh
@@ -12,8 +12,8 @@ function update_mono () {
}
function start_test () {
- pip install selenium
- pip install --upgrade urllib3
+ pip3 install selenium
+ pip3 install --upgrade urllib3
# wget "https://github.com/mozilla/geckodriver/releases/download/v0.23.0/geckodriver-v0.23.0-linux32.tar.gz"
# tar -xvzf geckodriver*
diff --git a/pipeline/stage_integrationtests/trigger.sh b/pipeline/stage_integrationtests/trigger.sh
index f3a404fb2..5e6967fa8 100755
--- a/pipeline/stage_integrationtests/trigger.sh
+++ b/pipeline/stage_integrationtests/trigger.sh
@@ -1,7 +1,7 @@
#!/bin/bash
. error_handling.sh
-PACKAGES="python-pip rsync"
+PACKAGES="python3-pip rsync"
docker-run --image selenium/standalone-firefox \
--packages "$PACKAGES" \
--asroot \