-
Notifications
You must be signed in to change notification settings - Fork 24
/
.appveyor.yml
37 lines (34 loc) · 1.5 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
environment:
matrix:
- PYTHON_VERSION: 3
PYTHON_ARCH: "32"
MINICONDA: C:\Miniconda3
EPICS_HOST_ARCH: "win32-x86-static"
- PYTHON_VERSION: 3
PYTHON_ARCH: "64"
MINICONDA: C:\Miniconda3-x64
EPICS_HOST_ARCH: "windows-x64-static"
install:
- "%MINICONDA%\\Scripts\\activate.bat"
- conda config --set always_yes yes --set changeps1 no
- if not %PYTHON_VERSION% == 3.5 (conda update -q --all)
- conda config --add channels defaults
- conda config --add channels %MY_CONDA_CHANNEL%
- conda install conda-build numpy anaconda-client
- conda info
# patch vs2008 express
- conda install -c conda-forge vs2008_express_vc_python_patch
- setup_x64
build_script:
- conda build conda-recipe
on_success:
- if %APPVEYOR_REPO_TAG% == true (anaconda -t %CONDA_TOKEN% upload --force %MINICONDA%\\conda-bld\\win-%PYTHON_ARCH%\\*.tar.bz2)
- echo [distutils] > %USERPROFILE%\\.pypirc
- echo index-servers = mypypi >> %USERPROFILE%\\.pypirc
- echo [mypypi] >> %USERPROFILE%\\.pypirc
- echo repository=%PYPI_URL% >> %USERPROFILE%\\.pypirc
- echo username=%PYPI_USER% >> %USERPROFILE%\\.pypirc
- echo password=%PYPI_PASSWORD% >> %USERPROFILE%\\.pypirc
- set HOME=%USERPROFILE%
- pip install twine
- if %APPVEYOR_REPO_TAG% == true (twine upload -r mypypi --skip-existing %MINICONDA%\\conda-bld\\win-%PYTHON_ARCH%\\*.whl)