Skip to content

Commit 9c12272

Browse files
committed
Revert change to appveyor.yml.
Python.Test.dll isn't included in the wheel so add it to the python path before running the tests.
1 parent 77c598b commit 9c12272

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

appveyor.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
os: Windows Server 2012
22

33
environment:
4+
global:
5+
PYTHONPATH: c:\testdir
6+
47
matrix:
5-
- pythonurl: http://www.python.org/ftp/python/2.7.6/python-2.7.6.amd64.msi
6-
- pythonurl: http://www.python.org/ftp/python/2.7.6/python-2.7.6.msi
7-
- pythonurl: http://www.python.org/ftp/python/2.6.6/python-2.6.6.msi
8-
- pythonurl: http://www.python.org/ftp/python/2.6.6/python-2.6.6.amd64.msi
8+
- pythonurl: http://www.python.org/ftp/python/2.7.6/python-2.7.6.amd64.msi
9+
- pythonurl: http://www.python.org/ftp/python/2.7.6/python-2.7.6.msi
10+
- pythonurl: http://www.python.org/ftp/python/2.6.6/python-2.6.6.msi
11+
- pythonurl: http://www.python.org/ftp/python/2.6.6/python-2.6.6.amd64.msi
912

1013
install:
1114
- ps: (new-object net.webclient).DownloadFile($env:pythonurl, 'C:\python.msi')
@@ -22,5 +25,7 @@ build_script:
2225

2326
test_script:
2427
- ps: C:\python\scripts\pip.exe install ("dist\" + (gci dist)[0].Name)
28+
- mkdir c:\testdir
29+
- ps: copy-item (gci -path build -re -include Python.Test.dll)[0].FullName c:\testdir
2530
- c:\python\python.exe src\tests\runtests.py
2631
- c:\python\scripts\npython.exe src\tests\runtests.py

0 commit comments

Comments
 (0)