From 50828b6e191f61eb7887547f7704998763ea59f3 Mon Sep 17 00:00:00 2001 From: Gregory Becker Date: Mon, 26 Feb 2018 17:50:05 -0800 Subject: [PATCH 01/11] uncommment codecov script --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 22fded0..7a760d5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,4 +8,4 @@ script: - make check after_success: -# - bash <(curl -s https://codecov.io/bash) ; fi + - bash <(curl -s https://codecov.io/bash) From 6049487f6165af27a1cdb07e1a73fcf62d0b6163 Mon Sep 17 00:00:00 2001 From: Gregory Becker Date: Tue, 27 Feb 2018 10:36:44 -0800 Subject: [PATCH 02/11] First draft of codecov yaml --- .codecov.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .codecov.yml diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 0000000..e7fa1f2 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,15 @@ +coverage: + precision: 2 + round: down + status: + project: + default: true + src: + threshold: 0.5 + paths: + - src + +ignore: + docs/* + cmake/* + test/* From 57a2d10adcf7926ce9b51d15fd17d171f500151c Mon Sep 17 00:00:00 2001 From: Gregory Becker Date: Tue, 27 Feb 2018 10:52:06 -0800 Subject: [PATCH 03/11] change codecov to requirement --- .travis.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7a760d5..4166593 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,17 @@ langauge: c +install: + - pip install --upgrade pip + - pip install --upgrade codecov + script: - mkdir build - cd build - cmake .. -DMPI=OFF -DCMAKE_C_FLAGS="-coverage" - make - make check + - codecov --required + -after_success: - - bash <(curl -s https://codecov.io/bash) +#after_success: +# - bash <(curl -s https://codecov.io/bash) From 1c6f9d32a77f4e151a83af0b8c06e56d8aa02329 Mon Sep 17 00:00:00 2001 From: Gregory Becker Date: Tue, 27 Feb 2018 10:57:42 -0800 Subject: [PATCH 04/11] install more codecov deps in travis --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4166593..8974361 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,8 @@ langauge: c install: - pip install --upgrade pip + - pip install --upgrade six + - pip install --upgrade setuptools - pip install --upgrade codecov script: From fa26f5857519a3e889dea04b7b26db84c757ed35 Mon Sep 17 00:00:00 2001 From: Gregory Becker Date: Tue, 27 Feb 2018 11:32:52 -0800 Subject: [PATCH 05/11] change travis codecov integration --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8974361..aae3493 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,10 @@ langauge: c -install: - - pip install --upgrade pip - - pip install --upgrade six - - pip install --upgrade setuptools - - pip install --upgrade codecov +#install: +# - pip install --upgrade pip +# - pip install --upgrade six +# - pip install --upgrade setuptools +# - pip install --upgrade codecov script: - mkdir build From a292e3c7288f330ebb5112fadcaf4b5e7dc823b1 Mon Sep 17 00:00:00 2001 From: Gregory Becker Date: Tue, 27 Feb 2018 15:50:35 -0800 Subject: [PATCH 06/11] testing --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index aae3493..fbc1e61 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,8 @@ langauge: c #install: -# - pip install --upgrade pip -# - pip install --upgrade six -# - pip install --upgrade setuptools -# - pip install --upgrade codecov + - pip install pip + - pip install codecov script: - mkdir build From 5301fdf831d8b12ac7ac2af612100c57ee5597eb Mon Sep 17 00:00:00 2001 From: Gregory Becker Date: Tue, 27 Feb 2018 17:20:35 -0800 Subject: [PATCH 07/11] typo --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fbc1e61..9b8982a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ langauge: c -#install: +install: - pip install pip - pip install codecov From a773bf9161fda1099bad91a3f3a0d88816d96bb2 Mon Sep 17 00:00:00 2001 From: Gregory Becker Date: Wed, 28 Mar 2018 11:45:31 -0700 Subject: [PATCH 08/11] another attempt --- .codecov.yml | 3 ++- .travis.yml | 6 +----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index e7fa1f2..abdc629 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -5,7 +5,8 @@ coverage: project: default: true src: - threshold: 0.5 + target: 0.4 + threshold: 0.1 paths: - src diff --git a/.travis.yml b/.travis.yml index 9b8982a..f14cb1b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,12 @@ langauge: c -install: - - pip install pip - - pip install codecov - script: - mkdir build - cd build - cmake .. -DMPI=OFF -DCMAKE_C_FLAGS="-coverage" - make - make check - - codecov --required +# - codecov --required #after_success: From d5524e5fc847be9132af231fafbcce4aa2f05ba9 Mon Sep 17 00:00:00 2001 From: Gregory Becker Date: Wed, 28 Mar 2018 14:41:59 -0700 Subject: [PATCH 09/11] status? --- .codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.codecov.yml b/.codecov.yml index abdc629..eccbaa9 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -5,7 +5,7 @@ coverage: project: default: true src: - target: 0.4 + target: 0.5 threshold: 0.1 paths: - src From b21fbafa39619cb84cd8e664b482b854b29ac62f Mon Sep 17 00:00:00 2001 From: Gregory Becker Date: Wed, 28 Mar 2018 14:54:19 -0700 Subject: [PATCH 10/11] remove comment feature --- .codecov.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index eccbaa9..4e0994c 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,3 +1,7 @@ +codecov: + notify: + require_ci_to_pass: yes + coverage: precision: 2 round: down @@ -5,8 +9,6 @@ coverage: project: default: true src: - target: 0.5 - threshold: 0.1 paths: - src @@ -14,3 +16,5 @@ ignore: docs/* cmake/* test/* + +comment: off From d8a534a940398aee9801ef18020078ae608ad9c7 Mon Sep 17 00:00:00 2001 From: Gregory Becker Date: Wed, 28 Mar 2018 16:19:36 -0700 Subject: [PATCH 11/11] undo travis changes --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f14cb1b..2c85475 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,5 +9,5 @@ script: # - codecov --required -#after_success: -# - bash <(curl -s https://codecov.io/bash) +after_success: + - bash <(curl -s https://codecov.io/bash)