-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathappveyor.yml
45 lines (36 loc) · 1.2 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
build: false
environment:
matrix:
- PYTHON_VERSION: 3.6
MINICONDA: C:\Miniconda3
- PYTHON_VERSION: 3.6
MINICONDA: C:\Miniconda3-x64
- PYTHON_VERSION: 3.7
MINICONDA: C:\Miniconda3
- PYTHON_VERSION: 3.7
MINICONDA: C:\Miniconda3-x64
init:
- "ECHO %PYTHON_VERSION% %MINICONDA%"
install:
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
- python --version
- python -c "import sys,platform,struct;print(sys.platform, platform.machine(), struct.calcsize('P') * 8, )"
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- "conda create -q -n test-environment
python=%PYTHON_VERSION% numpy pandas scipy matplotlib pytest"
- activate test-environment
- conda install libpython numpy matplotlib numba scipy cython pytest pytest-cov
- echo [build] > %CONDA_PREFIX%\Lib\distutils\distutils.cfg
- python setup.py install
test_script:
- pytest .
after_test:
# If tests are successful, create binary packages for the project.
- python setup.py bdist_wheel"
- python setup.py bdist_wininst"
- ps: "ls dist"
artifacts:
# Archive the generated packages in the ci.appveyor.com build report.
- path: dist\*