From 2fad6aabec82986c535232db9d168f1086304906 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Wed, 10 Jun 2020 00:06:05 -0400 Subject: [PATCH] Move codecov.yml to .github. Then removing the `-y` argument to the script fixes a deprecation warning from it. --- {ci => .github}/codecov.yml | 0 .travis.yml | 2 +- azure-pipelines.yml | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename {ci => .github}/codecov.yml (100%) diff --git a/ci/codecov.yml b/.github/codecov.yml similarity index 100% rename from ci/codecov.yml rename to .github/codecov.yml diff --git a/.travis.yml b/.travis.yml index e559e502df72..c40219b982a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -206,4 +206,4 @@ after_success: - lcov --remove coverage.info --output-file coverage.info '/usr/*' '/home/travis/build/matplotlib/matplotlib/build/*' '/home/travis/build/matplotlib/matplotlib/extern/*' # filter system-files - lcov --list coverage.info # Uploading to CodeCov but excluding gcov reports - - bash <(curl -s https://codecov.io/bash) -f "!*.gcov" -X gcov -e TRAVIS_PYTHON_VERSION -y ci/codecov.yml|| echo "Codecov did not collect coverage reports" + - bash <(curl -s https://codecov.io/bash) -f "!*.gcov" -X gcov -e TRAVIS_PYTHON_VERSION || echo "Codecov did not collect coverage reports" diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 336ceec7820e..91e510d27b52 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -112,7 +112,7 @@ steps: displayName: 'pytest' - bash: | - bash <(curl -s https://codecov.io/bash) -f "!*.gcov" -X gcov -y ci/codecov.yml + bash <(curl -s https://codecov.io/bash) -f "!*.gcov" -X gcov displayName: 'Upload to codecov.io' - task: PublishTestResults@2