aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2019-01-12 17:29:16 +0100
committerBoris Faure <billiob@gmail.com>2019-01-12 18:35:12 +0100
commitbf3d3991cdbc45d268e26fa45784df1115d35db5 (patch)
tree653e331d2dddc1d8aa65d0909f61fac5fd335e54
parentci: tweak config (diff)
downloadterminology-bf3d3991cdbc45d268e26fa45784df1115d35db5.tar.gz
ci: fix codecov script
The script is doing a find with -execdir (not on busybox's find btw…) , this made it not finding the source code. Add -Z so that build fails if codecov script fails
-rw-r--r--.circleci/config.yml5
-rw-r--r--.codecov.yml3
2 files changed, 6 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index b3dfe06..7c312da 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -57,7 +57,10 @@ jobs:
rm -fr *@@tyfuzz@exe *@@tyls@exe *@@typop@exe *@@tyq@exe
rm -fr *@@tysend@exe
cd /terminology/build/
- bash <(curl -s https://codecov.io/bash)
+ curl -s https://codecov.io/bash > .codecov
+ chmod +x .codecov
+ sed -i.bak 's/execdir/exec/' .codecov
+ ./.codecov -Z
build_clang:
docker:
- image: borisfaure/terminology-ci:latest
diff --git a/.codecov.yml b/.codecov.yml
index 0b42a0b..6a1fb68 100644
--- a/.codecov.yml
+++ b/.codecov.yml
@@ -1,2 +1,3 @@
fixes:
- - "../src/bin/::src/bin/"
+ - "../::"
+ - "/terminology/::"