forked from pbrod/numdifftools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
77 lines (66 loc) · 2.12 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
build: off
environment:
matrix:
- PYTHON_VERSION: 2.7
MINICONDA: C:\Miniconda
PYTHON_ARCH: "32"
- PYTHON_VERSION: 2.7
MINICONDA: C:\Miniconda-x64
PYTHON_ARCH: "64"
- PYTHON_VERSION: 3.5
MINICONDA: C:\Miniconda35
PYTHON_ARCH: "32"
- PYTHON_VERSION: 3.5
MINICONDA: C:\Miniconda35-x64
PYTHON_ARCH: "64"
- PYTHON_VERSION: 3.6
MINICONDA: C:\Miniconda36
PYTHON_ARCH: "32"
- PYTHON_VERSION: 3.6
MINICONDA: C:\Miniconda36-x64
PYTHON_ARCH: "64"
- PYTHON_VERSION: 3.7
MINICONDA: C:\Miniconda37
PYTHON_ARCH: "32"
- PYTHON_VERSION: 3.7
MINICONDA: C:\Miniconda37-x64
PYTHON_ARCH: "64"
- PYTHON_VERSION: 3.8
MINICONDA: C:\Miniconda38-x64
PYTHON_ARCH: "64"
# - PYTHON_VERSION: 3.9
# MINICONDA: C:\Miniconda39-x64
# PYTHON_ARCH: "64"
init:
- "ECHO %PYTHON_VERSION% %MINICONDA%"
install:
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
# - conda install --yes conda-build
- conda config --add channels conda-forge
- conda config --add channels https://conda.anaconda.org/qttesting
- "conda create -q -n test-environment python=%PYTHON_VERSION% numpy scipy algopy pytest pytest-runner pytest-pep8 pytest-cov matplotlib pyqt pip statsmodels line_profiler IPython"
- activate test-environment
- "python -m pip install --upgrade pip"
- "python -m pip install --upgrade setuptools"
- "python -m pip install --upgrade pytest"
- pip install coverage
- pip install hypothesis
# - python setup.py sdist
# - pip install numdifftools --find-links=dist
test_script:
- coverage run --source=numdifftools setup.py test
after_test:
# If tests are successful, create binary packages for the project.
# - python setup.py bdist_wheel"
- python setup.py bdist_wininst"
# - python setup.py bdist_msi"
- ps: "ls dist"
artifacts:
# Archive the generated packages in the ci.appveyor.com build report.
- path: dist\*
#on_success:
# - TODO: upload the content of dist/*.whl to a public wheelhouse
#