forked from CCI-Tools/cate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
27 lines (24 loc) · 912 Bytes
/
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
# version here is only relevant for the AppVeyor CI, no need to adjust
version: '{build}'
environment:
global:
PYTHON_LOC: "C:\\Miniconda36-x64"
install:
- call %PYTHON_LOC%\Scripts\activate.bat
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
build_script:
- conda env create --file environment.yml
- call %PYTHON_LOC%\Scripts\activate.bat cate-env
- python setup.py install
- conda list
# For the unit-tests, disable Numba JIT, otherwise Coverage wont reach the actual Python code
- set NUMBA_DISABLE_JIT=1
# Uncomment following line if web testing on travis breaks our build
- set CATE_DISABLE_WEB_TESTS=1
# geopandas in tests break the build on appveyor (maybe the problem of gdal?)
- set CATE_DISABLE_GEOPANDAS_TESTS=1
- set CATE_DISABLE_PLOT_TESTS=1
- set CATE_DISABLE_CLI_UPDATE_TESTS=1
- py.test -v --cov=cate test