forked from aleaxit/gmpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
56 lines (42 loc) · 1.31 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
environment:
matrix:
- TARGET_ARCH: x86
PYTHON_VERSION: 2.7
CONDA_INSTALL_LOCN: C:\\Miniconda
- TARGET_ARCH: x64
PYTHON_VERSION: 2.7
CONDA_INSTALL_LOCN: C:\\Miniconda-x64
- TARGET_ARCH: x86
PYTHON_VERSION: 3.5
CONDA_INSTALL_LOCN: C:\\Miniconda35
- TARGET_ARCH: x64
PYTHON_VERSION: 3.5
CONDA_INSTALL_LOCN: C:\\Miniconda35-x64
- TARGET_ARCH: x86
PYTHON_VERSION: 3.6
CONDA_INSTALL_LOCN: C:\\Miniconda36
- TARGET_ARCH: x64
PYTHON_VERSION: 3.6
CONDA_INSTALL_LOCN: C:\\Miniconda36-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 python=%PYTHON_VERSION% mpir mpfr mpc
- cmd: call activate test
# 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\*