Disable coverage generation for release branch.

This commit is contained in:
chriseth 2018-11-28 14:24:02 +01:00
parent 7cbf046864
commit 8ec66bcab6

View File

@ -14,6 +14,7 @@ defaults:
command: |
mkdir -p build
cd build
[ -n "$COVERAGE" -a "$CIRCLE_BRANCH" != release -a -z "$CIRCLE_TAG" ] && CMAKE_OPTIONS="$CMAKE_OPTIONS -DCOVERAGE=ON"
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo $CMAKE_OPTIONS
make -j4
- run_tests: &run_tests
@ -122,7 +123,7 @@ jobs:
- image: buildpack-deps:artful
environment:
TERM: xterm
CMAKE_OPTIONS: -DCOVERAGE=ON
COVERAGE: "ON"
steps:
- checkout
- run: