Skip to content

Commit 30d5e13

Browse files
travis script: added debug/release build
1 parent 2a17214 commit 30d5e13

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ compiler:
1414
os:
1515
- linux
1616

17+
env:
18+
- CONFIG=Debug
19+
- CONFIG=Release
20+
1721
addons:
1822
apt:
1923
sources:
@@ -37,6 +41,6 @@ script:
3741
# Run cmake
3842
- mkdir cmk_build
3943
- cd cmk_build
40-
- cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug"
44+
- cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=${CONFIG}
4145
# Build
4246
- cmake --build .

0 commit comments

Comments
 (0)