File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,26 @@ install:
2020 - cmd : " setlocal & SET PATH=%PYTHON%;c:\\ Python27\\ Scripts;%PATH% & pip2 wheel numpy & endlocal"
2121 - cmd : " setlocal & SET PATH=%PYTHON%;c:\\ Python27\\ Scripts;%PATH% & pip2 install nose numpy psutil mock & endlocal"
2222 - cmd : " setlocal & SET PATH=%PYTHON%;c:\\ Python27\\ Scripts;%PATH% & pip2 install git+https://github.com/3drobotics/dronekit-sitl-runner.git & endlocal"
23+
24+ - cmd : choco install innosetup
25+ - cmd : cd windows & droneapiWinBuild.bat
26+ - ps : |
27+ Invoke-WebRequest "http://firmware.diydrones.com/Tools/MAVProxy/MAVProxySetup-latest.exe" -OutFile MAVProxySetup-latest.exe
28+ .\MAVProxySetup-latest.exe /VERYSILENT /LOG=setup-mavproxy.log
29+ while (!(Test-Path "setup-mavproxy.log")) { Start-Sleep 1 }
30+ while(!(Select-String -path 'setup-mavproxy.log' -pattern 'Log closed' -quiet)){ Start-Sleep 1 };
31+ rm ~\AppData\Local\MAVProxy\mavinit.scr
32+ - ps : |
33+ $setup = gi .\windows\Output\DroneKitsetup-*.exe
34+ & $setup /VERYSILENT /LOG=setup-dronekit.log
35+ while (!(Test-Path "setup-dronekit.log")) { Start-Sleep 1 }
36+ while(!(Select-String -path 'setup-dronekit.log' -pattern 'Log closed' -quiet)){ Start-Sleep 1};
37+
2338build_script :
39+ - cmd : " setlocal & SET PATH=%PYTHON%;c:\\ Python27\\ Scripts;c:\\ Program Files (x86)\\ MAVProxy;%PATH% & python -m tests.sitl & endlocal"
2440 - cmd : ' setlocal & python setup.py install & endlocal'
2541 - cmd : " setlocal & SET PATH=%PYTHON%;c:\\ Python27\\ Scripts;%PATH% & nosetests tests\\ web & endlocal"
2642 - cmd : " setlocal & SET PATH=%PYTHON%;c:\\ Python27\\ Scripts;%PATH% & nosetests tests\\ unit & endlocal"
27- - cmd : " setlocal & SET PATH=%PYTHON%;c:\\ Python27\\ Scripts;%PATH% & python -m tests.sitl & endlocal"
2843clone_depth : 10
2944test : ' off'
3045branches :
You can’t perform that action at this time.
0 commit comments