summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorBernat Gabor <gaborjbernat@gmail.com>2018-09-17 12:39:26 +0100
committerBernát Gábor <gaborjbernat@gmail.com>2018-09-18 10:41:52 +0300
commitdb2f661578ff6c580c0a08d8e9a05c4468bea5d5 (patch)
treed8d71d1bd5a85fd278fb16b6a66319cc151f3b83 /azure-pipelines.yml
parent768f412b3b897228536b53f7ab884761fec2fadc (diff)
downloadtox-git-db2f661578ff6c580c0a08d8e9a05c4468bea5d5.tar.gz
fallback to current interpreter if matches at discovery
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml30
1 files changed, 3 insertions, 27 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 61016469..46c473a2 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -82,17 +82,7 @@ jobs:
displayName: run tests
- script: 'python -m tox -e coverage'
- displayName: generate coverage.xml
-
- - script: 'ls . -Ra'
- displayName: show
-
- - task: PublishCodeCoverageResults@1
- inputs:
- codeCoverageTool: 'cobertura'
- summaryFileLocation: '$(System.DefaultWorkingDirectory)/.tox/coverage.xml'
- reportDirectory: '$(System.DefaultWorkingDirectory)/.tox/htmlcov'
- failIfCoverageEmpty: true
+ displayName: generate coverage report
- script: 'python -m tox -e codecov -- -t $(CODECOV_TOKEN) --required -n "$(agent.os)-$(python.version)" --build "$(Build.DefinitionName)" --env OS=$(agent.os) python=$(python.version)'
displayName: upload codecov
@@ -131,14 +121,7 @@ jobs:
displayName: run tests
- script: 'python -m tox -e coverage'
- displayName: generate coverage.xml
-
- - task: PublishCodeCoverageResults@1
- inputs:
- codeCoverageTool: 'cobertura'
- summaryFileLocation: '$(System.DefaultWorkingDirectory)/.tox/coverage.xml'
- reportDirectory: '$(System.DefaultWorkingDirectory)/.tox/htmlcov'
- failIfCoverageEmpty: true
+ displayName: generate coverage report
- script: 'python -m tox -e codecov -- -t $(CODECOV_TOKEN) --required -n "$(agent.os)-$(python.version)" --build "$(Build.DefinitionName)" --env OS=$(agent.os) python=$(python.version)'
displayName: upload codecov
@@ -164,14 +147,7 @@ jobs:
displayName: run tests
- script: 'python3 -m tox -e coverage'
- displayName: generate coverage.xml
-
- - task: PublishCodeCoverageResults@1
- inputs:
- codeCoverageTool: 'cobertura'
- summaryFileLocation: '$(System.DefaultWorkingDirectory)/.tox/coverage.xml'
- reportDirectory: '$(System.DefaultWorkingDirectory)/.tox/htmlcov'
- failIfCoverageEmpty: true
+ displayName: generate coverage report
- script: 'python3 -m tox -e codecov -- -t $(CODECOV_TOKEN) --required -n "$(agent.os)-python3" --build "$(Build.DefinitionName)" --env OS=$(agent.os) python=3'
displayName: upload codecov