diff options
author | Peter Dimov <pdimov@gmail.com> | 2019-12-29 06:42:56 +0200 |
---|---|---|
committer | Peter Dimov <pdimov@gmail.com> | 2021-05-28 21:15:10 +0300 |
commit | 1af4ebb092b32edfb7ab97c6d1a87c71d4248b9c (patch) | |
tree | bf3c596eee7b2efa0804a4638ab07dd17c53baa8 /.travis.yml | |
parent | 0d0e8252bbed3a22789d1d11512a64973d44f87e (diff) | |
download | boost-1af4ebb092b32edfb7ab97c6d1a87c71d4248b9c.tar.gz |
Add CMake jobs to Travis
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 727630103a..eb083c511b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -69,6 +69,43 @@ matrix: - env: SCRIPT=ci_boost_build TOOLSET=gcc CXXSTD=11 RELEASE=1 compiler: g++ + # Build Boost with CMake + - env: CMAKE_BUILD=1 + compiler: g++ + + before_script: true + before_install: true + after_success: true + after_failure: true + after_script: true + + install: + - git submodule update --init + + script: + - mkdir __build && cd __build + - cmake -DBOOST_ENABLE_CMAKE=ON -DBoost_VERBOSE=ON -DBOOST_INSTALL_LAYOUT=tagged -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=OFF .. + - cmake --build . + + # Test Boost with CMake + - env: CMAKE_TEST=1 + compiler: g++ + + before_script: true + before_install: true + after_success: true + after_failure: true + after_script: true + + install: + - git submodule update --init + + script: + - mkdir __build && cd __build + - cmake -DBOOST_ENABLE_CMAKE=ON -DBoost_VERBOSE=ON -DBUILD_TESTING=ON .. + - cmake --build . + - ctest --output-on-failure -R quick + # # Run tests for the library updated by this commit. # - env: SCRIPT=ci_boost_test_library TOOLSET=gcc CXXSTD=11 # compiler: g++ |