2020-03-31 13:12:45 +03:00
|
|
|
resources:
|
|
|
|
repositories:
|
|
|
|
- repository: OpenAstronomy
|
|
|
|
type: github
|
|
|
|
endpoint: WorldWideTelescope
|
|
|
|
name: OpenAstronomy/azure-pipelines-templates
|
|
|
|
ref: master
|
|
|
|
|
2019-09-05 19:10:48 +03:00
|
|
|
jobs:
|
|
|
|
|
2020-03-31 13:12:45 +03:00
|
|
|
- template: run-tox-env.yml@OpenAstronomy
|
2019-09-05 19:10:48 +03:00
|
|
|
parameters:
|
|
|
|
|
2020-03-31 13:12:45 +03:00
|
|
|
xvfb: true
|
|
|
|
coverage: codecov
|
|
|
|
libraries:
|
|
|
|
apt:
|
|
|
|
- libxkbcommon-x11-0
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
|
|
|
|
envs:
|
|
|
|
|
|
|
|
- linux: codestyle
|
|
|
|
libraries: {}
|
|
|
|
coverage: 'false'
|
|
|
|
|
|
|
|
- linux: py36-test
|
|
|
|
- linux: py37-test
|
|
|
|
|
|
|
|
- windows: py36-test
|
|
|
|
- windows: py37-test
|
|
|
|
|
2020-03-31 13:44:12 +03:00
|
|
|
# - macos: py36-test
|
|
|
|
# - macos: py37-test
|
2020-03-31 13:12:45 +03:00
|
|
|
|
|
|
|
- linux: py36-docs
|
|
|
|
- windows: py37-docs
|
|
|
|
- macos: py37-docs
|
2020-04-03 17:47:34 +03:00
|
|
|
|
|
|
|
- template: publish.yml@OpenAstronomy
|
|
|
|
parameters:
|
2020-04-03 17:55:33 +03:00
|
|
|
test_command: pytest -p no:warnings --pyargs pywwt
|
2020-04-03 18:56:38 +03:00
|
|
|
test_extras: test
|
2020-04-03 17:47:34 +03:00
|
|
|
${{ if startsWith(variables['Build.SourceBranch'], 'refs/tags/v') }}:
|
|
|
|
pypi_connection_name : 'pypi_endpoint'
|
|
|
|
npm_connection_name : 'npm_endpoint'
|
|
|
|
targets:
|
|
|
|
- sdist
|
|
|
|
- wheels_universal
|
|
|
|
- npm
|