summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Costan <costan@google.com>2019-11-03 21:38:38 -0800
committerVictor Costan <pwnall@chromium.org>2019-11-03 21:42:23 -0800
commitcf4d9ab23de7ec36b8e00536b7450f02c639cd87 (patch)
tree8eb68f3069008a68e6f4913bca22fd2e214a85ec
parent95d0ba1cb046bfd76619b8b80e14ee1b2897d219 (diff)
downloadleveldb-cf4d9ab23de7ec36b8e00536b7450f02c639cd87.tar.gz
Test CMake installation on Travis.
PiperOrigin-RevId: 278300591
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
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