-
Notifications
You must be signed in to change notification settings - Fork 135
/
Copy pathappveyor.yml
39 lines (33 loc) · 1.06 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
build: false
environment:
matrix:
- PYTHON_VERSION: 2.7
MINICONDA: C:\Miniconda
- PYTHON_VERSION: 3.5
MINICONDA: C:\Miniconda3
- PYTHON_VERSION: 3.6
MINICONDA: C:\Miniconda3
- PYTHON_VERSION: 3.7
MINICONDA: C:\Miniconda3
# - PYTHON_VERSION: 3.8 # doesn't run yet
# MINICONDA: C:\Miniconda3
init:
- "ECHO %PYTHON_VERSION% %MINICONDA%"
# Requirements or sub-requirements that don't install well with pip
# are included directly in the conda environment
install:
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
- conda update conda --yes --quiet
- "conda create --name test-env python=%PYTHON_VERSION% pip geopandas --yes --quiet"
- activate test-env
- pip install .
- pip install -r requirements-dev.txt
- pip show urbansim
before_test:
- git clone https://github.com/udst/sanfran_urbansim.git
- cd sanfran_urbansim & jupyter nbconvert --to python Simulation.ipynb
- cd..
test_script:
- pycodestyle --max-line-length=100 urbansim
- pytest urbansim
- cd sanfran_urbansim & python Simulation.py