Skip to content

Commit

Permalink
Test CMake installation on Travis.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 278300416
  • Loading branch information
pwnall committed Nov 4, 2019
1 parent 8f32e3f commit eb2eb73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ before_script:
- mkdir -p build && cd build
- cmake .. -G Ninja -DCMAKE_BUILD_TYPE=$BUILD_TYPE
-DSNAPPY_REQUIRE_${CPU_LEVEL}=ON -DSNAPPY_FUZZING_BUILD=${FUZZING}
-DCMAKE_INSTALL_PREFIX=$HOME/.local
- cmake --build .
- cd ..

Expand All @@ -90,3 +91,4 @@ script:
- if [ -f build/snappy_uncompress_fuzzer ]; then
build/snappy_uncompress_fuzzer -runs=1000 -close_fd_mask=3;
fi
- cd build && cmake --build . --target install

0 comments on commit eb2eb73

Please sign in to comment.