summaryrefslogtreecommitdiffstats
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2020-03-24 21:59:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2020-03-24 21:59:15 +0000
commit63fad53303381388673073de580a32088a4ef0fe (patch)
treea2c5c329ee5e79a220fac7e079283235fecc0cda /azure-pipelines.yml
parentInitial commit. (diff)
downloadpre-commit-63fad53303381388673073de580a32088a4ef0fe.tar.xz
pre-commit-63fad53303381388673073de580a32088a4ef0fe.zip
Adding upstream version 2.2.0.upstream/2.2.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--azure-pipelines.yml50
1 files changed, 50 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
new file mode 100644
index 0000000..9b385b4
--- /dev/null
+++ b/azure-pipelines.yml
@@ -0,0 +1,50 @@
+trigger:
+ branches:
+ include: [master, test-me-*]
+ tags:
+ include: ['*']
+
+resources:
+ repositories:
+ - repository: asottile
+ type: github
+ endpoint: github
+ name: asottile/azure-pipeline-templates
+ ref: refs/tags/v1.0.0
+
+jobs:
+- template: job--pre-commit.yml@asottile
+- template: job--python-tox.yml@asottile
+ parameters:
+ toxenvs: [py37]
+ os: windows
+ pre_test:
+ - powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
+ displayName: Add conda to PATH
+ - powershell: |
+ Write-Host "##vso[task.prependpath]C:\Strawberry\perl\bin"
+ Write-Host "##vso[task.prependpath]C:\Strawberry\perl\site\bin"
+ Write-Host "##vso[task.prependpath]C:\Strawberry\c\bin"
+ displayName: Add strawberry perl to PATH
+- template: job--python-tox.yml@asottile
+ parameters:
+ toxenvs: [py37]
+ os: linux
+ name_postfix: _latest_git
+ pre_test:
+ - task: UseRubyVersion@0
+ - template: step--git-install.yml
+ - bash: |
+ testing/get-swift.sh
+ echo '##vso[task.prependpath]/tmp/swift/usr/bin'
+ displayName: install swift
+- template: job--python-tox.yml@asottile
+ parameters:
+ toxenvs: [pypy3, py36, py37, py38]
+ os: linux
+ pre_test:
+ - task: UseRubyVersion@0
+ - bash: |
+ testing/get-swift.sh
+ echo '##vso[task.prependpath]/tmp/swift/usr/bin'
+ displayName: install swift