8000 Add appveyor config for Windows CI · python/mypy@a57a81e · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit a57a81e

Browse files
committed
Add appveyor config for Windows CI
The only tricky bit of this is renaming python.exe to python2.exe. This is due to util.try_find_python2_interpreter(), which may well need work for Windows since the version symlinks don't exist on Windows.
1 parent 4907ff3 commit a57a81e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

appveyor.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
environment:
2+
matrix:
3+
- PYTHON: C:\\Python33
4+
- PYTHON: C:\\Python34
5+
- PYTHON: C:\\Python35
6+
- PYTHON: C:\\Python33-x64
7+
- PYTHON: C:\\Python34-x64
8+
- PYTHON: C:\\Python35-x64
9+
install:
10+
- "git submodule update --init typeshed"
11+
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;C:\\Python27;%PATH%"
12+
- "REN C:\\Python27\\python.exe python2.exe"
13+
- "python --version"
14+
- "python2 --version"
15+
build_script:
16+
- "pip install -r test-requirements.txt"
17+
- "python setup.py install"
18+
test_script:
19+
- cmd: python runtests.py -v

0 commit comments

Comments
 (0)
0