This is an automated email from the ASF dual-hosted git repository.

jdanek pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/main by this push:
     new b20d679  NO-JIRA Consistently use Python 3 in all Travis CI jobs 
(#1449)
b20d679 is described below

commit b20d679b882ad8781a7ec32c8ea3c77a1b3ea62c
Author: Jiri DanÄ›k <[email protected]>
AuthorDate: Sat Nov 20 23:00:18 2021 +0100

    NO-JIRA Consistently use Python 3 in all Travis CI jobs (#1449)
---
 .travis.yml | 28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 5e591c7..9b962c1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -76,14 +76,15 @@ jobs:
     - sudo apt-get update -q
     - sudo apt-get install -y clang-13 llvm-13-dev
     # Update pip, it may prevent issues later
-    - python -m pip install --user --upgrade pip
-    - python -m pip install --user --upgrade tox virtualenv
+    - sudo apt-get install -y python3-pip
+    - python3 -m pip install --user --upgrade pip
+    - python3 -m pip install --user --upgrade tox virtualenv
     # Install quart, h2 to run the http2 tests.
-    - python -m pip install --user quart h2
+    - python3 -m pip install --user quart h2
     # DISPATCH-1883: Install selectors to run tcp echo server/client tools
-    - python -m pip install --user selectors
+    - python3 -m pip install --user selectors
     # Install grpcio and protobuf to run the grpc tests.
-    - python -m pip install --user grpcio protobuf
+    - python3 -m pip install --user grpcio protobuf
     env:
     - QPID_SYSTEM_TEST_TIMEOUT=300
     - QPID_SYSTEM_TEST_SKIP_FALLBACK_SWITCHOVER_TEST=True
@@ -100,8 +101,8 @@ jobs:
       # Install and use the latest Node.js LTS version
       - nvm install "lts/*"
       # Update pip, it may prevent issues later
-      - python -m pip install --user --upgrade pip
-      - python -m pip install --user --upgrade tox virtualenv
+      - python3 -m pip install --user --upgrade pip
+      - python3 -m pip install --user --upgrade tox virtualenv
       # Install quart to run the http2 tests.
       - python3 -m pip install --user quart
       # DISPATCH-1883: Install selectors to run tcp echo server/client tools
@@ -152,14 +153,15 @@ jobs:
     dist: focal
     before_install:
       # Update pip, it may prevent issues later
-      - python -m pip install --user --upgrade pip
-      - python -m pip install --user --upgrade tox virtualenv
+      - sudo apt-get install -y python3-pip
+      - python3 -m pip install --user --upgrade pip
+      - python3 -m pip install --user --upgrade tox virtualenv
       # Install quart to run the http2 tests.
-      - python -m pip install --user quart
+      - python3 -m pip install --user quart
       # DISPATCH-1883: Install selectors to run tcp echo server/client tools
-      - python -m pip install --user selectors
+      - python3 -m pip install --user selectors
       # Install grpcio and protobuf to run the grpc tests.
-      - python -m pip install --user grpcio protobuf
+      - python3 -m pip install --user grpcio protobuf
     env:
     - QPID_SYSTEM_TEST_TIMEOUT=300
     - QPID_SYSTEM_TEST_SKIP_FALLBACK_SWITCHOVER_TEST=True
@@ -183,7 +185,7 @@ jobs:
     # set aliases for CMake's PythonInterp and PythonLibs to find MacPort's 
`python` on the path first
     - sudo port select --set python python37
     - sudo port select --set python3 python37
-    - python -m venv p3venv
+    - python3 -m venv p3venv
     - source p3venv/bin/activate
 
 addons:

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to