Trying to setup conda package deployment for windows
This commit is contained in:
17
appveyor.yml
17
appveyor.yml
@ -7,6 +7,9 @@ environment:
|
|||||||
matrix:
|
matrix:
|
||||||
- PYTHON_VERSION: 3.6
|
- PYTHON_VERSION: 3.6
|
||||||
MINICONDA_DIRNAME: C:\Miniconda36-x64
|
MINICONDA_DIRNAME: C:\Miniconda36-x64
|
||||||
|
|
||||||
|
ANACONDA_TOKEN:
|
||||||
|
secure: nxF/a2f3iS9KXGu7B/wKJYAk7Sm5wyAjoZoqJvPbRoVK4saaozVwOxDrjwJjJAYb
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- set "PATH=%MINICONDA_DIRNAME%;%MINICONDA_DIRNAME%\\Scripts;%PATH%"
|
- set "PATH=%MINICONDA_DIRNAME%;%MINICONDA_DIRNAME%\\Scripts;%PATH%"
|
||||||
@ -19,4 +22,16 @@ install:
|
|||||||
build: false
|
build: false
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- coverage run runtests.py
|
- coverage run runtests.py
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
- provider: Script
|
||||||
|
on:
|
||||||
|
APPVEYOR_REPO_TAG: true
|
||||||
|
|
||||||
|
before_deploy:
|
||||||
|
- conda install anaconda-client conda-build
|
||||||
|
- call conda_build.bat
|
||||||
|
|
||||||
|
deploy_script:
|
||||||
|
- anaconda -v -t %ANACONDA_TOKEN% upload --force --user cadquery cadquery-*.tar.bz2
|
1
conda_build.bat
Normal file
1
conda_build.bat
Normal file
@ -0,0 +1 @@
|
|||||||
|
conda build conda/meta.yaml -c pythonocc -c oce -c conda-forge -c dlr-sc
|
Reference in New Issue
Block a user