forked from UDST/urbansim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
34 lines (29 loc) · 1.04 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
build: false
environment:
matrix:
- PYTHON_VERSION: 2.7
MINICONDA: C:\Miniconda
- PYTHON_VERSION: 3.5
MINICONDA: C:\Miniconda3
init:
- "ECHO %PYTHON_VERSION% %MINICONDA%"
install:
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- "conda create -q -n test-environment python=%PYTHON_VERSION% cytoolz ipython-notebook jinja2 matplotlib numpy pandas patsy pip scipy statsmodels pytables pytest pyyaml toolz"
- activate test-environment
- conda install -c conda-forge shapely geopandas
- pip install orca osmnet pandana bottle simplejson zbox
- pip install pycodestyle
- pip install .
before_test:
# Update sanfran_urbansim clone once python3 branch is merged
- git clone -b python3 https://github.com/udst/sanfran_urbansim.git
- cd sanfran_urbansim & jupyter nbconvert --to python Simulation.ipynb
- cd..
test_script:
- pycodestyle urbansim scripts
- pytest urbansim
- cd sanfran_urbansim & python Simulation.py