From af5fb14666cba4034793adadb53c09dd90a12b14 Mon Sep 17 00:00:00 2001 From: Matt Cooper Date: Sat, 4 May 2019 09:45:20 -0400 Subject: [PATCH 1/4] initial Azure Pipelines setup --- .azure-pipelines.yml | 51 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .azure-pipelines.yml diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml new file mode 100644 index 00000000..24df187f --- /dev/null +++ b/.azure-pipelines.yml @@ -0,0 +1,51 @@ +trigger: +- master + +variables: + vmImage: ubuntu-latest + python.version: '3.7' + TOXENV: 'py,codecov' + python.architecture: 'x64' + +strategy: + matrix: + Python37Linux: + python.version: '3.7' + Python37Windows: + python.version: '3.7' + vmImage: 'windows-latest' + Python37Mac: + python.version: '3.7' + vmImage: 'macos-latest' + Pypy3Linux: + python.version: 'pypy3' + Python36Linux: + python.version: '3.6' + Python35Linux: + python.version: '3.5' + Python34Linux: + python.version: '3.4' + Python27Linux: + python.version: '2.7' + Python27Windows: + python.version: '2.7' + vmImage: 'windows-latest' + DocsHtml: + TOXENV: docs-html + VersionRange: + TOXENV: devel,lowest,codecov + +pool: + vmImage: $[ variables.vmImage ] + +steps: +- task: UsePythonVersion@0 + inputs: + versionSpec: $(python.version) + architecture: $(python.architecture) + +- script: pip install -U tox + displayName: 'Install tox' + +- script: tox + displayName: 'Run tox' From f2df16247a4ca2023dac8d44b876d474564ae197 Mon Sep 17 00:00:00 2001 From: Matt Cooper Date: Sat, 4 May 2019 10:19:50 -0400 Subject: [PATCH 2/4] add TODOs --- .azure-pipelines.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 24df187f..daa5c170 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -49,3 +49,6 @@ steps: - script: tox displayName: 'Run tox' + +# TODO: add codecov token +# TODO: emit JUnit test results From f9ee8349bc7c634408f8e3165edc4ad86d3267ca Mon Sep 17 00:00:00 2001 From: Matt Cooper Date: Sat, 4 May 2019 10:22:29 -0400 Subject: [PATCH 3/4] remove unsupported Python --- .azure-pipelines.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index daa5c170..6e31d41f 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -23,8 +23,6 @@ strategy: python.version: '3.6' Python35Linux: python.version: '3.5' - Python34Linux: - python.version: '3.4' Python27Linux: python.version: '2.7' Python27Windows: From 3257b1d13ba8e9abd069f4dcaa1ff7fc7d99ef09 Mon Sep 17 00:00:00 2001 From: Matt Cooper Date: Sat, 4 May 2019 10:40:10 -0400 Subject: [PATCH 4/4] one more todo --- .azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 6e31d41f..6ba0a4d2 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -50,3 +50,4 @@ steps: # TODO: add codecov token # TODO: emit JUnit test results +# TODO: build on nightly