From bf3d3991cdbc45d268e26fa45784df1115d35db5 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Sat, 12 Jan 2019 17:29:16 +0100 Subject: [PATCH] ci: fix codecov script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .circleci/config.yml | 5 ++++- .codecov.yml | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b3dfe066..7c312dad 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 0b42a0b1..6a1fb68a 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,2 +1,3 @@ fixes: - - "../src/bin/::src/bin/" + - "../::" + - "/terminology/::"