aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorDan Robertson <danlrobertson89@gmail.com>2017-10-26 14:07:36 +0000
committerDan Robertson <dan.robertson@anidata.org>2017-10-27 03:25:30 +0000
commit3d209be3d64081ee47f39d7e494830a73b178a72 (patch)
tree4a488b2db79dd53e54fa739f7bd764c08178fa1a /.travis.yml
parentd75ee3f9ce1e7143375252cc86aeccbbc752599b (diff)
Add Address Sanitized build type
- Add -DCMAKE_BUILD_TYPE=ASAN to possible builds
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 69634765..3eeb1682 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,6 +6,11 @@ compiler:
- gcc
- clang
+env:
+ - BUILD_TYPE=Release
+ - BUILD_TYPE=Debug
+ - BUILD_TYPE=ASAN
+
arch:
packages:
- cmake
@@ -19,7 +24,7 @@ arch:
- wlc-git
- libcap
script:
- - "cmake ."
+ - "cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE ."
- "make"
script: