forked from nismod/smif
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
46 lines (46 loc) · 1.02 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
build: false
services:
- postgresql96
environment:
global:
PGUSER: postgres
PGHOST: localhost
PGPORT: 5432
PGPASSWORD: Password12!
matrix:
- PYTHON_VERSION: 3.7
MINICONDA: C:\Miniconda3-x64
init:
- "ECHO %PYTHON_VERSION% %MINICONDA%"
install:
- CALL "%MINICONDA%\\Scripts\\activate.bat"
- conda config --set always_yes true
- conda update conda
- conda config --set changeps1 false
- conda config --set channel_priority strict
- conda info --all
- "conda create -n testenv python=%PYTHON_VERSION% \
fiona \
flask \
gdal \
isodate \
libgdal \
networkx \
numpy \
pandas \
psycopg2 \
pyarrow \
pytest \
python-dateutil \
requests \
rtree \
shapely \
xarray"
- activate testenv
- pip install psycopg2-binary
- python setup.py develop
before_test:
- PATH=C:\Program Files\PostgreSQL\9.6\bin\;%PATH%
- createdb -e test_smif
test_script:
- python setup.py test