Initial configuration of the azure pipeline

This commit is contained in:
adam-urbanczyk
2019-06-10 00:18:38 +02:00
parent 646e07c33a
commit 064e3691f2
2 changed files with 37 additions and 4 deletions

33
azure-pipelines.yml Normal file
View 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

View File

@ -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.*