Initial configuration of the azure pipeline
This commit is contained in:
33
azure-pipelines.yml
Normal file
33
azure-pipelines.yml
Normal file
@ -0,0 +1,33 @@
|
||||
trigger:
|
||||
branches:
|
||||
include:
|
||||
- master
|
||||
- refs/tags/*
|
||||
|
||||
resources:
|
||||
repositories:
|
||||
- repository: templates
|
||||
type: github
|
||||
name: CadQuery/conda-packages
|
||||
|
||||
jobs:
|
||||
- template: conda-build.yml@templates
|
||||
parameters:
|
||||
name: Linux
|
||||
vmImage: 'ubuntu-16.04'
|
||||
py_maj: 3
|
||||
py_min: 6
|
||||
|
||||
- template: conda-build.yml@templates
|
||||
parameters:
|
||||
name: macOS
|
||||
vmImage: 'macOS-10.13'
|
||||
py_maj: 3
|
||||
py_min: 6
|
||||
|
||||
- template: conda-build.yml@templates
|
||||
parameters:
|
||||
name: Windows
|
||||
vmImage: 'vs2017-win2016'
|
||||
py_maj: 3
|
||||
py_min: 6
|
@ -1,20 +1,20 @@
|
||||
package:
|
||||
name: cadquery-occ
|
||||
version: {{ environ.get('TRAVIS_TAG') }}
|
||||
version: {{ environ.get('PACKAGE_VERSION') }}
|
||||
|
||||
source:
|
||||
path: ..
|
||||
|
||||
build:
|
||||
string: {{ 'py'+environ.get('TRAVIS_PYTHON_VERSION')+environ.get('TRAVIS_COMMIT')[:8] }}
|
||||
string: {{ 'py'+environ.get('PYTHON_VERSION')}}
|
||||
script: python setup.py install --single-version-externally-managed --record=record.txt
|
||||
|
||||
requirements:
|
||||
build:
|
||||
- python {{ environ.get('TRAVIS_PYTHON_VERSION') }}
|
||||
- python {{ environ.get('PYTHON_VERSION') }}
|
||||
- setuptools
|
||||
run:
|
||||
- python {{ environ.get('TRAVIS_PYTHON_VERSION') }}
|
||||
- python {{ environ.get('PYTHON_VERSION') }}
|
||||
- oce 0.18
|
||||
- pythonocc-core 0.18.2
|
||||
- pyparsing 2.*
|
||||
|
Reference in New Issue
Block a user