diff options
author | Peter Dimov <pdimov@gmail.com> | 2021-05-28 21:21:24 +0300 |
---|---|---|
committer | Peter Dimov <pdimov@gmail.com> | 2021-05-29 06:23:08 +0300 |
commit | d3efecd85b9edd3498ef41ab1d311e5ec248a411 (patch) | |
tree | 0dca153bcc34dab978bc4273fd373d077f6c1ebd /.travis.yml | |
parent | c11f3be098873e2284e4772dd2c79a61615e9ab5 (diff) | |
download | boost-d3efecd85b9edd3498ef41ab1d311e5ec248a411.tar.gz |
Add CMake install job to Travis
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index a95ec75b58..9d243e1663 100644 --- a/.travis.yml +++ b/.travis.yml @@ -90,6 +90,26 @@ matrix: - cmake -DBOOST_ENABLE_CMAKE=ON -DBoost_VERBOSE=ON -DBOOST_INSTALL_LAYOUT=tagged -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=OFF .. - cmake --build . + # Install Boost with CMake + - env: CMAKE_INSTALL=1 + compiler: g++ + + before_script: true + before_install: true + after_success: true + after_failure: true + after_script: true + + install: + - pip install --user cmake + - git submodule update --init --jobs 3 + + script: + - mkdir __build && cd __build + - cmake -DBOOST_ENABLE_CMAKE=ON -DBoost_VERBOSE=ON -DBOOST_INSTALL_LAYOUT=tagged -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=~/.local .. + - cmake --build . + - cmake --build . --target install + # Test Boost with CMake - env: CMAKE_TEST=1 compiler: g++ |