From 3c1bc74b04abec0d73c1083825d34f572b84ac2d Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 19 May 2014 07:53:02 -0700 Subject: [PATCH] Multiple build types in travis. --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4235591b..4ce58caf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,11 @@ language: cpp before_install: - git submodule update --init +env: + - BUILD_TYPE=Debug + - BUILD_TYPE=Release + script: - - cmake . + - cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE . - make -j4 - make test