Skip to content

Commit

Permalink
Clean up pipelines script a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
ihnorton committed Feb 6, 2019
1 parent c5b6c63 commit 64f6f88
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# Python package
# Create and test a Python package on multiple Python versions.
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/python

trigger:
- dev

Expand All @@ -28,35 +23,20 @@ steps:
- script: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
python -m pip install --upgrade pip setuptools wheel numpy tox setuptools-scm cython
#pip install -r requirements_dev.txt
displayName: 'Install dependencies'

- script: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
python setup.py build_ext --inplace
python setup.py install
displayName: 'Build TileDB and TileDB-Py extension'
- script: |
python -m unittest -v
displayName: 'test'
displayName: 'Run tests'

- task: PublishTestResults@2
inputs:
testResultsFiles: '**/test-results.xml'
testRunTitle: 'Python $(python.version)'
condition: succeededOrFailed()

#- job: 'Publish'
# dependsOn: 'Test'
# pool:
# vmImage: 'Ubuntu-16.04'
#
# steps:
# - task: UsePythonVersion@0
# inputs:
# versionSpec: '3.x'
# architecture: 'x64'
#
# - script: python setup.py sdist
# displayName: 'Build sdist'

0 comments on commit 64f6f88

Please sign in to comment.