@@ -3,24 +3,23 @@ os: Windows Server 2012
33environment :
44 global :
55 PYTHONPATH : c:\testdir
6+ PYTHONWARNINGS : ' ignore:::pip.pep425tags:'
7+ PIPURL : https://bootstrap.pypa.io/get-pip.py
68
79 matrix :
810 - pythonurl : http://www.python.org/ftp/python/2.7.6/python-2.7.6.amd64.msi
911 - 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
12- - pythonurl : http://www.python.org/ftp/python/3.2.3/python-3.2.3.msi
13- - pythonurl : http://www.python.org/ftp/python/3.2.3/python-3.2.3.amd64.msi
12+ - pythonurl : http://www.python.org/ftp/python/3.3.5/python-3.3.5.msi
13+ - pythonurl : http://www.python.org/ftp/python/3.3.5/python-3.3.5.amd64.msi
1414 - pythonurl : http://www.python.org/ftp/python/3.4.2/python-3.4.2.msi
1515 - pythonurl : http://www.python.org/ftp/python/3.4.2/python-3.4.2.amd64.msi
1616
1717install :
1818 - ps : (new-object net.webclient).DownloadFile($env:pythonurl, 'C:\python.msi')
19- - ps : start-process -wait -FilePath msiexec.exe -ArgumentList "/qn /i C:\python.msi TARGETDIR=C:\Python"
20- - ps : (new-object net.webclient).DownloadFile('https://raw.github.com/pypa/pip/master/contrib/get-pip.py', 'C:\get-pip.py')
21- # appveyor has python 2.7.6 x86 preinstalled, but in the wrong directory, this works around this
22- - ps : if ($env:pythonurl -eq "http://www.python.org/ftp/python/2.7.6/python-2.7.6.msi") {mi c:\python27 c:\python}
23- - set PATH=C:\Python;%PATH%
19+ - ps : start-process -wait -FilePath msiexec.exe -ArgumentList '/qn /x C:\python.msi TARGETDIR=C:\Python'
20+ - ps : start-process -wait -FilePath msiexec.exe -ArgumentList '/qn /i C:\python.msi TARGETDIR=C:\Python'
21+ - ps : (new-object net.webclient).DownloadFile($env:PIPURL, 'C:\get-pip.py')
22+ - C:\Python\python.exe --version
2423 - C:\Python\python.exe c:\get-pip.py
2524 - C:\Python\Scripts\pip.exe install wheel
2625 - C:\Python\Scripts\pip.exe install six
@@ -29,7 +28,7 @@ build_script:
2928 - C:\python\python.exe setup.py bdist_wheel
3029
3130test_script :
32- - ps : C:\python\scripts \pip.exe install (" dist\" + (gci dist)[0].Name)
31+ - ps : C:\Python\Scripts \pip.exe install --no-cache-dir --force-reinstall --ignore-installed (' dist\' + (gci dist)[0].Name)
3332 - mkdir c:\testdir
3433 - ps : copy-item (gci -path build -re -include Python.Test.dll)[0].FullName c:\testdir
3534 - c:\python\python.exe src\tests\runtests.py
0 commit comments