From 617a0da42690f65fe68e49ab6930d8908c2826f3 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 8 May 2017 02:39:16 -0400 Subject: [PATCH] Give each coverage build a unique name. Travis builds are currently build number (123.1, 123.2, etc.) and AppVeyor is some random string, making it hard to determine which builds cover what. --- .appveyor.yml | 2 +- .travis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index dba0bef8c..1e20a372c 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -90,7 +90,7 @@ after_test: - cmd: "%WRAPPER% %PYTHON% -m coverage combine" # Generate XML report manually because codecov module doesn't know how to run it properly. - cmd: "%WRAPPER% %PYTHON% -m coverage xml" - - cmd: "%WRAPPER% %PYTHON% -m codecov -X search pycov -f coverage.xml" + - cmd: "%WRAPPER% %PYTHON% -m codecov -X search pycov -f coverage.xml -n windows-%arch%-%compiler%-%backend%" on_finish: - set "PATH=%ORIG_PATH%" diff --git a/.travis.yml b/.travis.yml index 5a7339729..fb86292d2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,4 +53,4 @@ script: after_success: - coverage3 combine - - codecov + - codecov -n "${TRAVIS_OS_NAME}-${CC}-{$(echo ${MESON_ARGS} | sed -e 's/^--//g' -e 's/ --/,/g')}"