aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-12-08 06:55:46 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-12-08 07:00:31 +0300
commita61b79b1521cb5ce08c213ac3ab45db072fbda2f (patch)
treea21dd19c5322e00092c677c0a79f6e6c2154624f
parentadd AppVeyor config (diff)
downloadmath-server-a61b79b1521cb5ce08c213ac3ab45db072fbda2f.tar.gz
math-server-a61b79b1521cb5ce08c213ac3ab45db072fbda2f.zip
enable tests in CI builds
-rw-r--r--.appveyor/build.ps11
-rwxr-xr-x.travis/build.sh2
2 files changed, 3 insertions, 0 deletions
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