-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathappveyor.yml
50 lines (44 loc) · 1.45 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
image:
- Visual Studio 2019
environment:
matrix:
- PYTHON: "C:\\Python310-x64"
PYTHON_VERSION: "3.10.x"
PYTHON_ARCH: "64"
init:
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
install:
- "%PYTHON%\\python -m pip install --upgrade pip"
# for many packages
- "%PYTHON%\\Scripts\\pip install -r requirements-win.txt"
# install precompiled versions not available on pypi
- "%PYTHON%\\Scripts\\pymy_install3 llvmlite numba shapely pyproj fiona gdal"
- "%PYTHON%\\Scripts\\pymy_install3 Cartopy"
# onnx
#- git clone -b master --single-branch https://github.com/onnx/onnx.git --recursive
#- cd onnx
#- set ONNX_ML=1
#- set ONNX_BUILD_TESTS=1
#- set ONNXIFI_DUMMY_BACKEND=1
#- python setup.py bdist_wheel
#- dir dist
#- python setup.py install
#- cd ..
# other dependencies
- "%PYTHON%\\Scripts\\pip install -r requirements.txt --no-deps"
- set PYTHONPATH=src
build: off
test_script:
# The job is cut after an hour. Only a subset of unit test is run.
- "%PYTHON%\\python -u setup.py unittests -d 20 -g \".*((LONG)|(SKIP)|(session9)).*\""
after_test:
- "%PYTHON%\\python -u setup.py bdist_wheel"
artifacts:
- path: dist
name: ensae_teaching_cs
cache:
# Use the appveyor cache to avoid re-downloading large archives such
# the MKL numpy and scipy wheels mirrored on a rackspace cloud
# container, speed up the appveyor jobs and reduce bandwidth.
# Tips taken from scikit-learn.
- '%APPDATA%\pip\Cache'