File tree 1 file changed +16
-1
lines changed
1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,26 @@ install:
20
20
- cmd : " setlocal & SET PATH=%PYTHON%;c:\\ Python27\\ Scripts;%PATH% & pip2 wheel numpy & endlocal"
21
21
- cmd : " setlocal & SET PATH=%PYTHON%;c:\\ Python27\\ Scripts;%PATH% & pip2 install nose numpy psutil mock & endlocal"
22
22
- 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
+
23
38
build_script :
39
+ - cmd : " setlocal & SET PATH=%PYTHON%;c:\\ Python27\\ Scripts;c:\\ Program Files (x86)\\ MAVProxy;%PATH% & python -m tests.sitl & endlocal"
24
40
- cmd : ' setlocal & python setup.py install & endlocal'
25
41
- cmd : " setlocal & SET PATH=%PYTHON%;c:\\ Python27\\ Scripts;%PATH% & nosetests tests\\ web & endlocal"
26
42
- 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"
28
43
clone_depth : 10
29
44
test : ' off'
30
45
branches :
You can’t perform that action at this time.
0 commit comments