File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ os : Windows Server 2012
2+
3+ environment :
4+ global :
5+ PYTHONPATH : c:\testdir
6+
7+ matrix :
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
12+
13+ install :
14+ - ps : (new-object net.webclient).DownloadFile($env:pythonurl, 'C:\python.msi')
15+ - ps : start-process -wait -FilePath msiexec.exe -ArgumentList "/qn /i C:\python.msi TARGETDIR=C:\Python"
16+ - ps : (new-object net.webclient).DownloadFile('https://raw.github.com/pypa/pip/master/contrib/get-pip.py', 'C:\get-pip.py')
17+ - C:\Python\python.exe c:\get-pip.py
18+ - C:\Python\Scripts\pip.exe install wheel
19+
20+ build_script :
21+ - cd pythonnet
22+ - tools\nuget\NuGet.exe restore pythonnet.sln
23+ - C:\python\python.exe setup.py bdist_wheel
24+
25+ test_script :
26+ - ps : C:\python\scripts\pip.exe install ("dist\" + (gci dist)[0].Name)
27+ - mkdir c:\testdir
28+ - ps : copy-item (gci -path build -re -include Python.Test.dll)[0].FullName c:\testdir
29+ # - c:\python\python.exe src\tests\runtests.py
You can’t perform that action at this time.
0 commit comments