forked from pyFFTW/pyFFTW
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
93 lines (72 loc) · 2.91 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
environment:
global:
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
# /E:ON and /V:ON options are not enabled in the batch script intepreter
# See: http://stackoverflow.com/a/13751649/163740
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_env.cmd"
# The miniconda installations are put in pyfftw_miniconda
PYTHON_HOME: "C:\\pyfftw_miniconda"
NP_BUILD_DEP: "1.9"
pypi_username:
secure: qFSpEDsIOj6gzynjuHTX5A==
pypi_password:
secure: zoj3LRJPmMpEKGa0nPGMsg==
bintray_username:
secure: mP8uIV/V4v9+zu0jCAU5mQ==
bintray_api_key:
secure: aBy9OwJetm6O29iWuEoWIsJc7Ml9NkiqTXDMClyHRePJcNdoTBZGOaMcHzm2ji77
matrix:
- PYTHON_HOME: "C:\\Miniconda"
PYTHON_ARCH: "32"
PYTHON_VERSION: "2.7"
- PYTHON_HOME: "C:\\Miniconda-x64"
PYTHON_ARCH: "64"
PYTHON_VERSION: "2.7"
- PYTHON_HOME: "C:\\Miniconda3"
PYTHON_ARCH: "32"
PYTHON_VERSION: "3.4"
- PYTHON_HOME: "C:\\Miniconda3-x64"
PYTHON_ARCH: "64"
PYTHON_VERSION: "3.4"
- PYTHON_HOME: "C:\\Miniconda35"
PYTHON_ARCH: "32"
PYTHON_VERSION: "3.5"
- PYTHON_HOME: "C:\\Miniconda35-x64"
PYTHON_ARCH: "64"
PYTHON_VERSION: "3.5"
- PYTHON_HOME: "C:\\Miniconda36"
PYTHON_ARCH: "32"
PYTHON_VERSION: "3.6"
NP_BUILD_DEP: "1.11"
- PYTHON_HOME: "C:\\Miniconda36-x64"
PYTHON_ARCH: "64"
PYTHON_VERSION: "3.6"
NP_BUILD_DEP: "1.11"
install:
# Get and configure the FFTW libs
- "%CMD_IN_ENV% ./appveyor/setup_fftw_dlls.cmd"
# Prepend newly installed Python to the PATH of this build (this cannot be
# done from inside the powershell script as it would require to restart
# the parent CMD process).
- "SET PATH=%PYTHON_HOME%;%PYTHON_HOME%\\Scripts;%PATH%"
- "conda config --set always_yes yes --set changeps1 no"
- "conda update -q conda"
- "conda create -q -n build_env python=%PYTHON_VERSION% numpy=%NP_BUILD_DEP% scipy cython dask setuptools"
- "activate build_env"
- "%CMD_IN_ENV% python setup.py -v bdist_wheel"
- "%CMD_IN_ENV% python setup.py -v build_ext --inplace"
build: false # Not a C# project, build stuff somewhere else.
test_script:
# Run the project tests
- "python setup.py test"
deploy_script:
- "SET HOME=%USERPROFILE%"
- "echo [server-login] > %USERPROFILE%\\.pypirc"
- "echo username:%pypi_username% >> %USERPROFILE%\\.pypirc"
- "echo password:%pypi_password% >> %USERPROFILE%\\.pypirc"
- ps: "./appveyor/deploy.ps1"
on_finish:
# Uncomment the following to enable the remote environment
#- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
#after_test:
#on_success: