From cf4d9ab23de7ec36b8e00536b7450f02c639cd87 Mon Sep 17 00:00:00 2001 From: Victor Costan Date: Sun, 3 Nov 2019 21:38:38 -0800 Subject: [PATCH] Test CMake installation on Travis. PiperOrigin-RevId: 278300591 --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index b4acf13..42cbe64 100644 --- a/.travis.yml +++ b/.travis.yml @@ -70,6 +70,7 @@ install: before_script: - mkdir -p build && cd build - cmake .. -G Ninja -DCMAKE_BUILD_TYPE=$BUILD_TYPE + -DCMAKE_INSTALL_PREFIX=$HOME/.local - cmake --build . - cd .. @@ -78,3 +79,4 @@ script: - "if [ -f build/db_bench ] ; then build/db_bench ; fi" - "if [ -f build/db_bench_sqlite3 ] ; then build/db_bench_sqlite3 ; fi" - "if [ -f build/db_bench_tree_db ] ; then build/db_bench_tree_db ; fi" +- cd build && cmake --build . --target install