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
commit 14f742421f282420aeb305d49136a80bc25a2088 Author: Chris Richardson <[email protected]> AuthorDate: Sun Apr 11 14:06:30 2021 +0100 QPID-8517 Build and test in parallel for python2 and python3 --- .travis.yml | 54 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 31 insertions(+), 23 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4633621..0007a78 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,33 +5,41 @@ language: - c - cpp cache: ccache -addons: - apt: - packages: - - cmake - - libboost-dev - - libboost-program-options-dev - - libboost-system-dev - - libboost-test-dev - - uuid-dev - - libnss3-dev - - libnss3-tools - - libsasl2-dev - - sasl2-bin - - swig - - python-dev - - valgrind - - ruby before_install: - export PATH=/home/travis/.local/bin:$PATH - export PYTHONPATH=/home/travis/.local/lib/python2.7/site-packages:$PYTHONPATH install: - pip install --user --upgrade pip - pip install --user qpid-python -before_script: -- mkdir Build -- cd Build -- cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/install -script: -- make -j3 && make install && ctest -V + +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 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
