Skip to content

Commit

Permalink
ci: do asan build (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattklein123 authored Aug 12, 2016
1 parent d545a8b commit 16b266f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ install: true
env:
- TEST_TYPE=normal
- TEST_TYPE=coverage
- TEST_TYPE=asan

script: docker run -t -i -v $TRAVIS_BUILD_DIR:/source lyft/envoy-build:latest /bin/bash -c "cd /source && ci/do_ci.sh $TEST_TYPE"
4 changes: 4 additions & 0 deletions ci/do_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ if [[ "$1" == "coverage" ]]; then
echo "coverage build..."
EXTRA_CMAKE_FLAGS="-DENVOY_CODE_COVERAGE:BOOL=ON"
TEST_TARGET="envoy.check-coverage"
elif [[ "$1" == "asan" ]]; then
echo "asan build..."
EXTRA_CMAKE_FLAGS="-DENVOY_SANITIZE:BOOL=ON"
TEST_TARGET="envoy.check"
else
echo "normal build..."
TEST_TARGET="envoy.check"
Expand Down

0 comments on commit 16b266f

Please sign in to comment.