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 bb6ca436db409a1c3f804e5302ba23b60427c07b 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 | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4633621..7ce3ac4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,6 @@ addons: - libsasl2-dev - sasl2-bin - swig - - python-dev - valgrind - ruby before_install: @@ -28,10 +27,29 @@ before_install: 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: + - stage: "Build and test under python2" + addons: + apt: + packages: + - python-dev + before_script: + - mkdir Build + - cd Build + - cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/install + script: + - make -j3 && make install && ctest -V + - stage: "Build and test under python3" + addons: + apt: + packages: + - python3-dev + before_script: + - mkdir Build + - cd Build + - cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/install + script: + - make -j3 && make install && ctest -V --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
