From cb35a18772b6be2dd95fb150d9a4b467fb28cc44 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 87475f93575fac8b620bddc80bda26d380cec4ee 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 ceac23d7e671f20532a9a877e851ca9bc730d0af 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 b86631685cdeac223c98347be37a2663b925205e 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