From a61b79b1521cb5ce08c213ac3ab45db072fbda2f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 8 Dec 2019 06:55:46 +0300 Subject: enable tests in CI builds --- .appveyor/build.ps1 | 1 + .travis/build.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.appveyor/build.ps1 b/.appveyor/build.ps1 index d6f80d0..cdacc8a 100644 --- a/.appveyor/build.ps1 +++ b/.appveyor/build.ps1 @@ -99,6 +99,7 @@ function Build-Project { -D "BOOST_LIBRARYDIR=$BoostLibraryDir" ` -D Boost_USE_STATIC_LIBS=ON ` -D Boost_USE_STATIC_RUNTIME=ON ` + -D ENABLE_TESTS=ON ` $ProjectDir } diff --git a/.travis/build.sh b/.travis/build.sh index f3ad8c8..2e721f3 100755 --- a/.travis/build.sh +++ b/.travis/build.sh @@ -17,8 +17,10 @@ main() { -D "BOOST_ROOT=$boost_dir" \ -D "BOOST_LIBRARYDIR=$boost_librarydir" \ -D Boost_USE_STATIC_LIBS=ON \ + -D ENABLE_TESTS=ON \ "$TRAVIS_BUILD_DIR" cmake --build . -- -j + ./test/unit_tests/unit_tests --log_level=all } main -- cgit v1.2.3