forked from CATIA-Systems/FMPy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
44 lines (32 loc) · 1.04 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
image: Visual Studio 2015
build: false
environment:
matrix:
- PYTHON_VERSION: 2.7
MINICONDA: C:\Miniconda
- PYTHON_VERSION: 3.5
MINICONDA: C:\Miniconda35
- PYTHON_VERSION: 2.7
MINICONDA: C:\Miniconda-x64
- PYTHON_VERSION: 3.5
MINICONDA: C:\Miniconda35-x64
init:
- echo echo %VS140COMNTOOLS% %PYTHON_VERSION% %MINICONDA%
install:
- git submodule update --init --recursive
- set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda create -q -n test-env -c anaconda python=%PYTHON_VERSION% dask lxml matplotlib numpy pathlib pyqt pyqtgraph pywin32 requests
- activate test-env
# build the wheel
- python setup.py bdist_wheel --universal
# install the wheel
- for %%f in (dist\FMPy-*.whl) do pip install %%f --no-deps
test_script:
- cd tests
- python -m unittest discover
artifacts:
# archive the generated wheel in the build report
- path: dist\*