-
Notifications
You must be signed in to change notification settings - Fork 1
/
.appveyor.yml
51 lines (45 loc) · 1.65 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
environment:
APPVEYOR_SAVE_CACHE_ON_ERROR: "true"
BINSTAR_TOKEN:
secure: zW96v77uhbDdArc0805i/CDIvVpZvqCJyJ+WgSE1b65nPLO0nGUwmZ9qshUICIba
matrix:
- PYTHON: "C:\\Python37_64"
PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
CONDA_PY: "37"
matrix:
fast_finish: true
cache:
- '%PYTHON%'
install:
# this installs the appropriate Miniconda (Py2/Py3, 32/64 bit),
# as well as pip, conda-build
- ps: if (!(Test-Path $env:PYTHON\\Scripts\\conda.exe -PathType Leaf)){ .\\devtools\\ci\\install-miniconda.ps1 }
- ps: If ($env:APPVEYOR_REPO_TAG -eq "true" -AND $env:APPVEYOR_REPO_TAG_NAME.StartsWith('v')) { $env:conda_upload = 'true' }
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- activate
- conda build purge
- conda clean -y --all
- rm -rf %PYTHON%/conda-bld/*
- conda build devtools/conda-recipe
- IF "%conda_upload%"=="true" anaconda -t %BINSTAR_TOKEN% upload %PYTHON%/conda-bld/win-*/esigen-*.tar.bz2 -u insilichem --no-progress --force
- IF "%conda_upload%"=="true" conda install -y constructor
- IF "%conda_upload%"=="true" conda remove -y --force constructor
- IF "%conda_upload%"=="true" pip install -U --no-deps https://github.com/jaimergp/constructor/archive/jinja-env.zip
- IF "%conda_upload%"=="true" constructor .
artifacts:
- path: 'esigen*.exe'
name: esigen
build: off
deploy:
provider: GitHub
tag: $(APPVEYOR_REPO_TAG_NAME)
release: ESIgen $(APPVEYOR_REPO_TAG_NAME)
description: $(APPVEYOR_REPO_COMMIT_MESSAGE)
auth_token:
secure: B/gWNOHhL5VYBLSIfvRA+rJmD9TYP6DcVgXi40AO23ypDUAe0ckpjkuE6TmqYlXS
artifact: /esigen-.*\.exe/
draft: false
prerelease: false
on:
appveyor_repo_tag: true