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 a83ab93 QPID-8517 Build and test in parallel for python2 and python3
a83ab93 is described below
commit a83ab932384817b1ea839ac0fc48f69b7bc5d162
Author: Chris Richardson <[email protected]>
AuthorDate: Sun Apr 11 17:35:41 2021 +0100
QPID-8517 Build and test in parallel for python2 and python3
---
.travis.yml | 48 +++++++++++++++++-------------------------------
1 file changed, 17 insertions(+), 31 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index ca5fa83..08d9f99 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,25 +4,25 @@ distro: xenial
language:
- cpp
cache: ccache
+addons:
+ apt:
+ packages:
+ - libboost-dev
+ - libboost-program-options-dev
+ - libboost-system-dev
+ - libboost-test-dev
+ - uuid-dev
+ - libnss3-dev
+ - libnss3-tools
+ - libsasl2-dev
+ - sasl2-bin
+ - swig
+ - valgrind
+ - ruby
jobs:
include:
- name: "Build and test under python2"
- addons:
- apt:
- packages:
- - libboost-dev
- - libboost-program-options-dev
- - libboost-system-dev
- - libboost-test-dev
- - uuid-dev
- - libnss3-dev
- - libnss3-tools
- - libsasl2-dev
- - sasl2-bin
- - swig
- - valgrind
- - ruby
before_install:
- export PATH=/home/travis/.local/bin:$PATH
- export
PYTHONPATH=/home/travis/.local/lib/python2.7/site-packages:$PYTHONPATH
@@ -32,25 +32,11 @@ jobs:
before_script:
- mkdir Build
- cd Build
- - cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/install
+ - pyenv versions
+ - cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/install
-DPYTHON_EXECUTABLE="$(which python2)"
script:
- make -j$(nproc) && make install && ctest -V
- name: "Build and test under python3"
- addons:
- apt:
- packages:
- - libboost-dev
- - libboost-program-options-dev
- - libboost-system-dev
- - libboost-test-dev
- - uuid-dev
- - libnss3-dev
- - libnss3-tools
- - libsasl2-dev
- - sasl2-bin
- - swig
- - valgrind
- - ruby
before_script:
- mkdir Build
- cd Build
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]