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

chrisr pushed a commit to branch feature/QPID-8517-parallel-ci-py2-py3
in repository https://gitbox.apache.org/repos/asf/qpid-cpp.git


The following commit(s) were added to 
refs/heads/feature/QPID-8517-parallel-ci-py2-py3 by this push:
     new 1b00624  QPID-8517 Build and test in parallel for python2 and python3
1b00624 is described below

commit 1b006242d7726da86f0d74268932727c9750dc1b
Author: Chris Richardson <[email protected]>
AuthorDate: Sun Apr 11 15:26:23 2021 +0100

    QPID-8517 Build and test in parallel for python2 and python3
---
 .travis.yml | 45 +++++++++++++++------------------------------
 1 file changed, 15 insertions(+), 30 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 0007a78..57cfa6f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,6 +4,9 @@ sudo: false
 language:
 - c
 - cpp
+python:
+  - 2.7
+  - 3.5
 cache: ccache
 before_install:
 - export PATH=/home/travis/.local/bin:$PATH
@@ -12,34 +15,16 @@ install:
 - pip install --user --upgrade pip
 - pip install --user qpid-python
 
-jobs:
-  include:
-    - name: "Build and test under python2"
-      python: "2.7"
-      addons:
-        apt:
-          packages:
-          - libboost-program-options-dev
-          - libboost-system-dev
-          - libboost-test-dev
-      before_script:
-      - mkdir Build
-      - cd Build
-      - cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/install
-      script:
-      - make -j$(nproc) && make install && ctest -V
-    - name: "Build and test under python3"
-      python: "3.5"
-      addons:
-        apt:
-          packages:
-          - libboost-program-options-dev
-          - libboost-system-dev
-          - libboost-test-dev
-      before_script:
-      - mkdir Build
-      - cd Build
-      - cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/install
-      script:
-      - make -j$(nproc) && make install && ctest -V
+addons:
+  apt:
+    packages:
+    - libboost-program-options-dev
+    - libboost-system-dev
+    - libboost-test-dev
+before_script:
+- mkdir Build
+- cd Build
+- cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/install
+script:
+- make -j$(nproc) && make install && ctest -V
 

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

Reply via email to