forked from corteva/rioxarray
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
33 lines (27 loc) · 1.23 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
#-------------------------------------------------------------------------------
#System specifications for Appveyor
#-------------------------------------------------------------------------------
environment:
matrix:
- PYTHON_VERSION: "3.6"
MINICONDA: "C:\\Miniconda3-x64"
install:
- 'SET PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%'
- conda config --set always_yes yes
- conda config --add channels conda-forge
- conda config --add channels conda-forge
#-----------------------------------------------------------------------------
# Create conda environment
#-----------------------------------------------------------------------------
- conda create -n test python=%PYTHON_VERSION% rasterio=1.0.* scipy xarray netcdf4 dask
- activate test
#-------------------------------------------------------------------------------
# Install rioxarray
#-------------------------------------------------------------------------------
- pip install -e .[all]
build: false
test_script:
- pytest --cov-report term-missing --cov=rioxarray
- flake8 --ignore=E731,W503,W504 --exclude --max-complexity 10 --max-line-length 88 rioxarray/
- flake8 --max-line-length 88 tests/unit/ tests/functional/ tests/integration
- black --check .