forked from fredRos/pyFFTW
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
83 lines (61 loc) · 2.63 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
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"
pypi_username:
secure: qFSpEDsIOj6gzynjuHTX5A==
pypi_password:
secure: zoj3LRJPmMpEKGa0nPGMsg==
bintray_username:
secure: mP8uIV/V4v9+zu0jCAU5mQ==
bintray_api_key:
secure: aBy9OwJetm6O29iWuEoWIsJc7Ml9NkiqTXDMClyHRePJcNdoTBZGOaMcHzm2ji77
matrix:
- PYTHON_VERSION: "2.7" # currently 2.7.9
PYTHON_ARCH: "32"
- PYTHON_VERSION: "2.7" # currently 2.7.9
PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.3" # currently 3.3.5
PYTHON_ARCH: "32"
- PYTHON_VERSION: "3.3" # currently 3.3.5
PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.4" # currently 3.4.3
PYTHON_ARCH: "32"
- PYTHON_VERSION: "3.4" # currently 3.4.3
PYTHON_ARCH: "64"
- PYTHON_VERSION: "3.5"
PYTHON_ARCH: "32"
- PYTHON_VERSION: "3.5"
PYTHON_ARCH: "64"
install:
# Get and configure the FFTW libs
- "%CMD_IN_ENV% ./appveyor/setup_fftw_dlls.cmd"
- ps: "./appveyor/install_miniconda.ps1"
# 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"
- "conda update -q conda"
- "conda create -n build_env python=%PYTHON_VERSION% numpy scipy cython setuptools"
- "activate build_env"
- "%CMD_IN_ENV% python setup.py bdist_wheel"
- "%CMD_IN_ENV% python setup.py 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:
- "echo [pypi] > %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: