Skip to content

Commit

Permalink
All the things to Azure
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Jun 5, 2019
1 parent e4f6ca7 commit a3e20eb
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 106 deletions.
105 changes: 0 additions & 105 deletions .travis.yml

This file was deleted.

72 changes: 71 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,32 @@ jobs:
python setup.py egg_info
displayName: 'egg_info'
- job: 'NoRemoteData'
- job: 'Coverage'
pool:
vmImage: 'Ubuntu-16.04'
strategy:
matrix:
Python37:
python.version: '3.7'
maxParallel: 4

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
architecture: 'x64'

- script: |
sudo apt-get install libxml2-utils
python -m pip install --upgrade pip setuptools
pip install numpy scipy astropy pytest-astropy codecov
python setup.py test --coverage --open-files --remote-data
displayName: 'Run tests'
- script: codecov
displayName: 'Calculate coverage'

- job: 'Default'
pool:
vmImage: 'Ubuntu-16.04'
strategy:
Expand All @@ -45,6 +70,51 @@ jobs:
python setup.py test --open-files
displayName: 'Run tests'
- job: 'Old_Astropy'
pool:
vmImage: 'Ubuntu-16.04'
strategy:
matrix:
Python36:
python.version: '3.6'
maxParallel: 4

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
architecture: 'x64'

- script: |
sudo apt-get install libxml2-utils
python -m pip install --upgrade pip setuptools
pip install numpy scipy astropy>=2,<3 pytest-astropy
python setup.py test --open-files
displayName: 'Run tests'
- job: 'Dev_Astropy'
pool:
vmImage: 'Ubuntu-16.04'
strategy:
matrix:
Python37:
python.version: '3.7'
maxParallel: 4

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
architecture: 'x64'

- script: |
sudo apt-get install libxml2-utils
python -m pip install --upgrade pip setuptools
pip install numpy scipy pytest-astropy
pip install git+https://github.com/astropy/astropy.git@master#egg=astropy
python setup.py test --open-files
displayName: 'Run tests'
- job: 'Windows'
pool:
vmImage: 'vs2017-win2016'
Expand Down

0 comments on commit a3e20eb

Please sign in to comment.