forked from CMA-ES/pycma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
39 lines (35 loc) · 1.29 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
build: false
environment:
matrix:
- PYTHON_VERSION: 3.6
MINICONDA: C:\Miniconda36
- PYTHON_VERSION: 2.7
# Python 2.7 life ends by end of 2019, conda install numpy gives "cannot import name _distributor_init" error, hence using pip
MINICONDA: C:\Miniconda27
# CYGWIN: C:\cygwin
- PYTHON_VERSION: 3.8
MINICONDA: C:\Miniconda38
- PYTHON_VERSION: 3.7
MINICONDA: C:\Miniconda37
- PYTHON_VERSION: 3.11
MINICONDA: C:\Miniconda311
- PYTHON_VERSION: 3.10
MINICONDA: C:\Miniconda310
- PYTHON_VERSION: 3.9
MINICONDA: C:\Miniconda39
init:
- cmd: "ECHO %PYTHON_VERSION% %MINICONDA%"
- cmd: "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
# - cmd: "set PATH=%CYGWIN%;%CYGWIN%\\bin;%PATH%"
install:
# - cmd: conda install -y conda=4.6.12 # scipy setuptools six pytest
- cmd: python --version
- cmd: pip install numpy # scipy setuptools six pytest
# - cmd: pip install matplotlib # scipy setuptools six pytest
# - cmd: conda install -y matplotlib numpy # scipy setuptools six pytest # conda install numpy works only with Python 3.6
# - cmd: python do.py run-python
# - cmd: python do.py install-postprocessing
test_script:
# run the test
- cmd: python -m cma.test
# - cmd: python do.py test-postprocessing-all