Ver Fonte

Explicitly pass the sha to codecov

In case of merge commit, the sha passed to the codecov tool
is the one of the merged commit intstead of the merge commit
this creates error because the base commit is always different.
Passing it explicitely should fix it

Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
Flavio Crisciani há 7 anos atrás
pai
commit
da1e931693
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      libnetwork/circle.yml

+ 1 - 1
libnetwork/circle.yml

@@ -13,4 +13,4 @@ test:
   override:
     - make circle-ci
   post:
-    - bash <(curl -s https://codecov.io/bash)
+    - bash <(curl -s https://codecov.io/bash) -C "$(git log --format="%H" -n 1)"