aboutsummaryrefslogtreecommitdiffstats
path: root/appveyor.yml
diff options
context:
space:
mode:
authorBenoit Pierre <benoit.pierre@gmail.com>2018-03-26 18:34:40 +0200
committerPaul Ganssle <paul@ganssle.io>2018-03-27 14:48:16 -0400
commit58d299de99612f76f2ff5cfe7fb142d95e5e8738 (patch)
tree190776940665eabdba6e07d184b320862c4a5114 /appveyor.yml
parent685987d6275f8d9f5815c0f80bf581fb3d6d02fd (diff)
downloadexternal_python_setuptools-58d299de99612f76f2ff5cfe7fb142d95e5e8738.tar.gz
external_python_setuptools-58d299de99612f76f2ff5cfe7fb142d95e5e8738.tar.bz2
external_python_setuptools-58d299de99612f76f2ff5cfe7fb142d95e5e8738.zip
Improve speed and clarity of code coverage
Rationale: - tox should work the same as before - coverage is too slow and disabled by default locally - disable coverage on pypy and pypy3 (way too slow) - add coverage info for pkg_resources - make sure tests are ignored in coverage - make sure all CI jobs are identifiable - include coverage for xfail (too complicated otherwise) - disable report on terminal
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 2b659459..ff7122b4 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,10 +1,13 @@
environment:
APPVEYOR: True
+ CODECOV_ENV: APPVEYOR_JOB_NAME
matrix:
- - PYTHON: "C:\\Python35-x64"
- - PYTHON: "C:\\Python27-x64"
+ - APPVEYOR_JOB_NAME: "python35-x64"
+ PYTHON: "C:\\Python35-x64"
+ - APPVEYOR_JOB_NAME: "python27-x64"
+ PYTHON: "C:\\Python27-x64"
install:
# symlink python from a directory with a space
@@ -20,10 +23,9 @@ cache:
test_script:
- "python bootstrap.py"
- "python -m pip install tox"
- - "tox -e py"
+ - "tox -- --cov"
after_test:
- tox -e coverage,codecov
version: '{build}'
-