summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2017-12-29 00:22:06 +0000
committerEgor Yusov <egor.yusov@gmail.com>2017-12-29 00:22:06 +0000
commit30d5e13bf3dbd2e1e629952b3401080fcdc64fd1 (patch)
treeb473c74d584289e05b65a981f92fd992539c99d4
parentReworked dependencies between projects (diff)
downloadDiligentCore-30d5e13bf3dbd2e1e629952b3401080fcdc64fd1.tar.gz
DiligentCore-30d5e13bf3dbd2e1e629952b3401080fcdc64fd1.zip
travis script: added debug/release build
-rw-r--r--.travis.yml6
1 files changed, 5 insertions, 1 deletions
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 .