-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
55 lines (49 loc) · 1.08 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
47
48
49
50
51
52
53
54
55
build: false
environment:
matrix:
- PYTHON: 2.7
PKG: pip
- PYTHON: 2.7
PKG: conda
- PYTHON: 3.5
PKG: pip
- PYTHON: 3.5
PKG: conda
- PYTHON: 3.6
PKG: pip
- PYTHON: 3.6
PKG: conda
- PYTHON: 3.7
PKG: pip
- PYTHON: 3.7
PKG: conda
# Pip has fatal errors with older versions of python when running inside the powershell
# conditional; hopefully we can find a way around this at some point
matrix:
fast_finish: true
allow_failures:
- PYTHON: 2.7
PKG: pip
- PYTHON: 3.5
PKG: pip
init:
- "ECHO %PYTHON% %PKG%"
install:
- "set PATH=C:\\Miniconda3;C:\\Miniconda3\\Scripts;%PATH%"
- conda update conda --yes --quiet
- "conda create --name test-env python=%PYTHON% pytest pip --yes --quiet"
- activate test-env
- ps: |
if ($env:PKG -eq "pip")
{
pip install urbansim_templates
pip list
}
- ps: |
if ($env:PKG -eq "conda")
{
conda install urbansim_templates --channel conda-forge --yes --quiet
conda list
}
test_script:
- py.test