forked from corteva/geocube
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
35 lines (29 loc) · 1.19 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
#-------------------------------------------------------------------------------
#System specifications for Appveyor
#-------------------------------------------------------------------------------
environment:
matrix:
- PYTHON_VERSION: "3.7"
MINICONDA: "C:\\Miniconda3-x64"
install:
- 'SET PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%'
- conda config --set always_yes yes
- conda update -q conda
- conda config --add channels conda-forge
- conda config --add channels conda-forge
- conda config --set channel_priority strict
#-----------------------------------------------------------------------------
# Create conda environment for geocube
#-----------------------------------------------------------------------------
- conda create -n test python=%PYTHON_VERSION% datacube geopandas rioxarray rasterio scipy xarray
- activate test
#-------------------------------------------------------------------------------
# Install geocube
#-------------------------------------------------------------------------------
- pip install .[all]
build: false
test_script:
- pytest --cov-report term-missing --cov=geocube
- flake8 geocube/ test/
- black --check .
- geocube --version