From: Michael Wallner Date: Thu, 6 Feb 2020 13:42:42 +0000 (+0100) Subject: travis: cmake X-Git-Tag: post_cmake~19 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=c67bcba60f052a91888598b073d08f4f10f6849e;p=m6w6%2Flibmemcached travis: cmake --- 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: