forked from wooey/Wooey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
57 lines (50 loc) · 1.64 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
56
57
environment:
PYTHONIOENCODING: "utf-8"
matrix:
- PYTHON: "C:/Python27"
DJANGO: "Django==1.8.*"
- PYTHON: "C:/Python27"
DJANGO: "Django==1.9.*"
- PYTHON: "C:/Python27"
DJANGO: "Django==1.10.*"
- PYTHON: "C:/Python27"
DJANGO: "Django==1.11.*"
# The latest version of Django is no longer python2 compatible
#- PYTHON: "C:/Python27"
# DJANGO: "Django"
- PYTHON: "C:/Python34"
DJANGO: "Django==1.8.*"
# keep this to just maintain the latest version
- PYTHON: "C:/Python34"
DJANGO: "Django"
# These versions of Django are not supported with Python3.5
#- PYTHON: "C:/Python35"
# DJANGO: "Django==1.6.*"
- PYTHON: "C:/Python35"
DJANGO: "Django==1.8.*"
- PYTHON: "C:/Python35"
DJANGO: "Django==1.9.*"
- PYTHON: "C:/Python35"
DJANGO: "Django==1.10.*"
- PYTHON: "C:/Python35"
DJANGO: "Django==1.11.*"
# keep this to just maintain the latest version
- PYTHON: "C:/Python35"
DJANGO: "Django"
init:
- "ECHO %PYTHON%"
- "ECHO %path%"
- ps: "ls C:/Python*"
install:
- "%PYTHON%/python.exe -m pip"
- "%PYTHON%/Scripts/pip.exe install --upgrade setuptools"
- "%PYTHON%/Scripts/pip.exe install %DJANGO%"
- "%PYTHON%/Scripts/pip.exe install -r requirements.txt"
- "%PYTHON%/Scripts/pip.exe install -e ."
# setup our path to include python scripts
- cmd: SET PATH=%PATH%;%PYTHON%/Scripts
build: off
test_script:
- "%PYTHON%/Scripts/pip.exe --version"
- "%PYTHON%/Scripts/nosetests.exe --with-coverage --cover-erase --cover-package=wooey tests"
- "%PYTHON%/Scripts/django-admin test --settings=wooey.test_settings wooey.tests"