From c67bcba60f052a91888598b073d08f4f10f6849e Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 6 Feb 2020 14:42:42 +0100 Subject: [PATCH] travis: cmake --- .travis.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index a90f179f..5f624754 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,27 +16,25 @@ compiler: env: # prod - - -# debug - - enable_debug=yes -# sanitize=address -# - with_sanitize=address -# sanitize=thread -# - with_sanitize=thread + - BUILD=Release + - BUILD=Debug #before_install: #install: before_script: - - export enable_dependency_tracking=no - - autoreconf -vfi + - memcached-tool localhost:11211 settings + - mkdir build -#script: +script: + - cmake -B build -S . -DCMAKE_BUILD_TYPE=${BUILD} + - make -C build + - make -C build test #before_cache: #after_success: after_failure: - - cat test-suite.log + - cat build/Testing/Temporary/LastTest.log #after_script: -- 2.30.2