Build both static and shared libs on Travis

This commit is contained in:
Robin Lindén
2019-04-19 23:35:36 +02:00
parent 92eea98a66
commit 4580d27de3

View File

@@ -4,8 +4,12 @@ compiler:
- gcc
- clang
env:
- CMAKE_ARGS="-DBUILD_SHARED_LIBS=OFF"
- CMAKE_ARGS="-DBUILD_SHARED_LIBS=ON"
script:
- mkdir build && cd build
- cmake ..
- cmake .. ${CMAKE_ARGS}
- make -j
- ctest -j