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 5c276d1 QPID-8517 Build and test in parallel for python2 and python3
5c276d1 is described below
commit 5c276d12b2ea12dc5bd641dd46b3204864e21209
Author: Chris Richardson <[email protected]>
AuthorDate: Sun Apr 11 17:19:29 2021 +0100
QPID-8517 Build and test in parallel for python2 and python3
---
.travis.yml | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 4404f26..b6efde1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -47,7 +47,6 @@ jobs:
- libnss3-dev
- libnss3-tools
- libsasl2-dev
- - python3-dev
- sasl2-bin
- swig
- valgrind
@@ -55,9 +54,12 @@ jobs:
before_script:
- mkdir Build
- cd Build
+ - pyenv versions
- pyenv install --list
- pyenv install 3.6.3
- - PYENV_VERSION="3.6.3" cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/install
+ - pyenv versions
+ - pyenv shell 3.6.3
+ - cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/install
script:
- make -j$(nproc) && make install && ctest -V
- name: "Build and test under python3 (system)"
@@ -80,7 +82,9 @@ jobs:
before_script:
- mkdir Build
- cd Build
- - PYENV_VERSION="system cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/install
+ - pyenv versions
+ - pyenv shell system
+ - 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]