-
Notifications
You must be signed in to change notification settings - Fork 8
/
.appveyor.yml
85 lines (66 loc) · 2.09 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
environment:
matrix:
- TARGET_ARCH: x86
PYTHON_VERSION: 2.7
CONDA_INSTALL_LOCN: C:\\Miniconda36
PYTHON_LOCN: C:\\Python27
- TARGET_ARCH: x64
PYTHON_VERSION: 2.7
CONDA_INSTALL_LOCN: C:\\Miniconda36-x64
PYTHON_LOCN: C:\\Python27-x64
- TARGET_ARCH: x86
PYTHON_VERSION: 3.5
CONDA_INSTALL_LOCN: C:\\Miniconda36
PYTHON_LOCN: C:\\Python35
- TARGET_ARCH: x64
PYTHON_VERSION: 3.5
CONDA_INSTALL_LOCN: C:\\Miniconda36-x64
PYTHON_LOCN: C:\\Python35-x64
- TARGET_ARCH: x86
PYTHON_VERSION: 3.6
CONDA_INSTALL_LOCN: C:\\Miniconda36
PYTHON_LOCN: C:\\Python36
- TARGET_ARCH: x64
PYTHON_VERSION: 3.6
CONDA_INSTALL_LOCN: C:\\Miniconda36-x64
PYTHON_LOCN: C:\\Python36-x64
- TARGET_ARCH: x86
PYTHON_VERSION: 3.7
CONDA_INSTALL_LOCN: C:\\Miniconda37
PYTHON_LOCN: C:\\Python37
- TARGET_ARCH: x64
PYTHON_VERSION: 3.7
CONDA_INSTALL_LOCN: C:\\Miniconda37-x64
PYTHON_LOCN: C:\\Python37-x64
- TARGET_ARCH: x86
PYTHON_VERSION: 3.8
CONDA_INSTALL_LOCN: C:\\Miniconda38
PYTHON_LOCN: C:\\Python38
- TARGET_ARCH: x64
PYTHON_VERSION: 3.8
CONDA_INSTALL_LOCN: C:\\Miniconda38-x64
PYTHON_LOCN: C:\\Python38-x64
platform:
- x64
install:
# Activate `conda`
- cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
# Configure conda
- cmd: conda config --add channels conda-forge
- cmd: conda config --set show_channel_urls true
- cmd: conda config --set always_yes yes --set changeps1 no
# Create conda environment
- cmd: conda create -n test mpir "mpfr>=4" mpc
- cmd: call activate test
# Setup python environment
- cmd: set "PATH=%PYTHON_LOCN%;%PYTHON_LOCN%\\Scripts;%PATH%"
# Skip .NET project specific build phase.
build: off
test_script:
- cmd: python setup.py install build_ext --mpir -I%CONDA_PREFIX%\Library\include -L%CONDA_PREFIX%\Library\lib
- cmd: cd test && python runtests.py
- cmd: cd ..
after_test:
- cmd: python setup.py bdist_wheel
artifacts:
- path: dist\*