-
Notifications
You must be signed in to change notification settings - Fork 11
/
appveyor.yml
24 lines (24 loc) · 1016 Bytes
/
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
build: false
version: 0.3.1.dev1.{build}
environment:
matrix:
- PYTHON: "C:/Python27"
LXML_WHEEL: "tools/win32/lxml-4.3.4-cp27-cp27m-win32.whl"
SIMPLEPARSE_WHEEL: "tools/win32/SimpleParse-2.2.0-cp27-cp27m-win32.whl"
REQUIREMENTS: "requirements.py2.txt"
- PYTHON: "C:/Python37"
LXML_WHEEL: "tools/win32/lxml-4.3.4-cp37-cp37m-win32.whl"
SIMPLEPARSE_WHEEL: "tools/win32/SimpleParse-2.2.0-cp37-cp37m-win32.whl"
REQUIREMENTS: "requirements.py3.txt"
PYTHONPATH: "."
init:
- "ECHO %PYTHON%"
- ps: Invoke-WebRequest "https://bootstrap.pypa.io/get-pip.py" -OutFile "c:/get-pip.py"
- ps: "git config --global core.autocrlf false" # always use unix lineendings
install:
- "copy tools\\win32\\tidy.exe tidy.exe"
- "%PYTHON%/python.exe c:/get-pip.py"
- "%PYTHON%/Scripts/pip.exe install %LXML_WHEEL% %SIMPLEPARSE_WHEEL%"
- "%PYTHON%/Scripts/pip.exe -q install -r %REQUIREMENTS%"
test_script:
- "%PYTHON%/python.exe -Wi tools/rununittest.py discover test"