Skip to content

Commit 4524803

Browse files
author
Devon Ryan
committed
Add azure support
1 parent 0b2defa commit 4524803

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

azure-pipelines.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
pr:
2+
autoCancel: true
3+
4+
jobs:
5+
6+
- job: 'Linux'
7+
pool:
8+
vmImage: 'ubuntu-latest'
9+
strategy:
10+
matrix:
11+
Python36:
12+
python.version: '3.6'
13+
Python37:
14+
python.version: '3.7'
15+
Python38:
16+
python.version: '3.8'
17+
Python39:
18+
python.version: '3.9'
19+
Python310:
20+
python.version: '3.10'
21+
maxParallel: 5
22+
23+
steps:
24+
- bash: echo "##vso[task.prependpath]/usr/share/miniconda/bin"
25+
displayName: Add conda to PATH
26+
27+
- bash: conda create -n foo -q --yes -c conda-forge -c bioconda python=$(python.version) libcurl zlib pip nose gcc_linux-64
28+
displayName: Installing dependencies
29+
- bash: |
30+
source activate foo
31+
python -m pip install . --no-deps --ignore-installed -vvv
32+
displayName: Installing py2bit
33+
- bash: |
34+
source activate foo
35+
nosetests -sv
36+
displayName: Test py2bit

0 commit comments

Comments
 (0)