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 a3e56e3 QPID-8517 Build and test in parallel for python2 and python3
a3e56e3 is described below
commit a3e56e32c714218c5cae2a82643f8c189077cc56
Author: Chris Richardson <[email protected]>
AuthorDate: Sun Apr 11 14:41:49 2021 +0100
QPID-8517 Build and test in parallel for python2 and python3
---
.travis.yml | 17 ++---------------
1 file changed, 2 insertions(+), 15 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index f8692b3..20ff726 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,19 +5,6 @@ language:
- c
- cpp
cache: ccache
-addons:
- apt:
- packages:
- - cmake
- - libboost-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
@@ -40,7 +27,7 @@ jobs:
- cd Build
- cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/install
script:
- - make -j3 && make install && ctest -V
+ - make -j$(nproc) && make install && ctest -V
- name: "Build and test under python3"
addons:
apt:
@@ -54,5 +41,5 @@ jobs:
- cd Build
- cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/install
script:
- - make -j3 && make install && ctest -V
+ - make -j$(nproc) && make install && ctest -V
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]