From 30d5e13bf3dbd2e1e629952b3401080fcdc64fd1 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 28 Dec 2017 16:22:06 -0800 Subject: travis script: added debug/release build --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ed6ff06e..6237314a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,10 @@ compiler: os: - linux +env: + - CONFIG=Debug + - CONFIG=Release + addons: apt: sources: @@ -37,6 +41,6 @@ script: # Run cmake - mkdir cmk_build - cd cmk_build - - cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" + - cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=${CONFIG} # Build - cmake --build . -- cgit v1.2.3