Skip to content

Commit

Permalink
Merge branch 'master' into fix_deadlock_improve_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EtiennePelletier committed Sep 21, 2019
2 parents 2443d09 + 31d48f3 commit 73866b2
Show file tree
Hide file tree
Showing 60 changed files with 1,223 additions and 1,886 deletions.
61 changes: 61 additions & 0 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
trigger:
- master
- '*.x'

variables:
vmImage: ubuntu-latest
python.version: 3.7
TOXENV: py,coverage-ci
hasTestResults: true

strategy:
matrix:
Python 3.7 Linux:
vmImage: ubuntu-latest
Python 3.7 Windows:
vmImage: windows-latest
Python 3.7 Mac:
vmImage: macos-latest
PyPy 3 Linux:
python.version: pypy3
Python 3.6 Linux:
python.version: 3.6
Python 3.5 Linux:
python.version: 3.5
Python 2.7 Linux:
python.version: 2.7
Python 2.7 Windows:
python.version: 2.7
vmImage: windows-latest
Docs:
TOXENV: docs-html
hasTestResults: false

pool:
vmImage: $[ variables.vmImage ]

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: $(python.version)
displayName: Use Python $(python.version)

- script: pip --disable-pip-version-check install -U tox
displayName: Install tox

- script: tox -s false -- --junit-xml=test-results.xml
displayName: Run tox

- task: PublishTestResults@2
inputs:
testResultsFiles: test-results.xml
testRunTitle: $(Agent.JobName)
condition: eq(variables['hasTestResults'], 'true')
displayName: Publish test results

- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: coverage.xml
condition: eq(variables['hasTestResults'], 'true')
displayName: Publish coverage results
11 changes: 0 additions & 11 deletions .coveragerc

This file was deleted.

46 changes: 0 additions & 46 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit 73866b2

Please sign in to comment.