aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-11-30 23:31:28 +0800
committerGitHub <noreply@github.com>2018-11-30 23:31:28 +0800
commit1bbd5977cfd8eb24b3a5cb0d296ce228062b8ebd (patch)
tree8f9ddfc2d9cdbbebc12737c63b099657bdfe706b
parent6aa9ce2d4348aa5ee0d64854942db4adb0c8b9d2 (diff)
parent8ec66bcab65bd764a3923f5866d0d5c930a99e74 (diff)
downloaddexon-solidity-1bbd5977cfd8eb24b3a5cb0d296ce228062b8ebd.tar.gz
dexon-solidity-1bbd5977cfd8eb24b3a5cb0d296ce228062b8ebd.tar.zst
dexon-solidity-1bbd5977cfd8eb24b3a5cb0d296ce228062b8ebd.zip
Merge pull request #5529 from ethereum/noCoverageOnRelease
Disable coverage generation for release branch.
-rw-r--r--.circleci/config.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 975d1c7a..6c5f3e85 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -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: