summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Dimov <pdimov@gmail.com>2021-05-28 21:21:24 +0300
committerPeter Dimov <pdimov@gmail.com>2021-05-28 21:21:24 +0300
commit03e6cd111ef3481cc858f1966871e7cbb1cd0f48 (patch)
tree4c00962ee41de2255dc418d9da778631ba6abb4f
parent6ef40d86be8f3227f0ec6eaaffb7e5a1285bdf79 (diff)
downloadboost-feature/travis-cmake-2.tar.gz
Add CMake install job to Travisfeature/travis-cmake-2
-rw-r--r--.travis.yml20
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++