-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathappveyor.yml
69 lines (52 loc) · 1.55 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
version: 0.1.{build}-{branch}
environment:
matrix:
- PYTHON_VERSION: 3.6
PYTHON_ARCH: x64
MINICONDA: C:\Miniconda36-x64
- PYTHON_VERSION: 3.7
PYTHON_ARCH: x64
MINICONDA: C:\Miniconda36-x64
- PYTHON_VERSION: 3.5
PYTHON_ARCH: x64
MINICONDA: C:\Miniconda36-x64
matrix:
allow_failures:
- PYTHON_VERSION: 3.7
PYTHON_ARCH: x64
MINICONDA: C:\Miniconda36-x64
- PYTHON_VERSION: 3.5
PYTHON_ARCH: x64
MINICONDA: C:\Miniconda36-x64
install:
- set PATH=%MINICONDA%;%MINICONDA%\Scripts;%PATH%
# Install the build and runtime dependencies of the project.
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda config --add channels conda-forge
- conda create -q -n test-environment python=%PYTHON_VERSION%
- activate test-environment
- pip install wheel
# Check that we have the expected version of Python
- python --version
- pip install coveralls PyYAML
- pip install PySide2
- conda install numpy matplotlib-base gdal pyproj scipy basemap netCDF4 h5py lxml pillow
- pip install https://github.com/hydroffice/hyo2_abc/archive/master.zip
- pip install pytest pytest-cov
build: off
build_script:
- pip install .
# - conda remove --force PyQt Qt sip
- del /q %MINICONDA%\envs\test-environment\qt.conf
- conda list --show-channel-urls
- python data/download_products.py
test: off
test_script:
- py.test --cov=hyo2.openbst
- coveralls
after_test:
- python setup.py bdist_wheel
artifacts:
- path: dist\*