Skip to content

Commit

Permalink
Appveyor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
llafuente committed Nov 24, 2016
1 parent d8d43be commit a679b13
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ install:
(Get-Item .\UnitySetup64.exe).length
.\UnitySetup64.exe /S /Q
date
Start-Process -FilePath ".\UnitySetup64.exe" -Wait -ArgumentList ('/S', '/Q')
date
Invoke-WebRequest "https://bitbucket.org/Unity-Technologies/unitytesttools/get/5.5.zip" -OutFile .\UnityTestTools.zip
Expand All @@ -22,18 +26,24 @@ build: off

test_script:
- ps: >
Start-Sleep -s 240
$env:Path += ";C:\Program Files\Unity\Editor"
Unity.exe -batchmode -nographics -projectPath C:\projects\unity-platformer -runEditorTests -editorTestsResultFile C:\projects\unity-platformer\unit-test-results.xml -editorTestsFilter UnityPlatformer -logFile C:\projects\unity-platformer\log-unit-test.txt -quit
date
Start-Process -FilePath "Unity.exe" -Wait -ArgumentList ('-batchmode', '-nographics', '-projectPath', 'C:\projects\unity-platformer', '-runEditorTests', '-editorTestsResultFile', 'C:\projects\unity-platformer\unit-test-results.xml', '-editorTestsFilter', 'UnityPlatformer', '-logFile', 'C:\projects\unity-platformer\log-unit-test.txt', '-quit')
Start-Sleep -s 5
date
Start-Sleep -s 1
Get-Content C:\projects\unity-platformer\log-unit-test.txt
Get-Content C:\projects\unity-platformer\unit-test-results.xml
$wc = New-Object 'System.Net.WebClient'
$wc.UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", "C:\projects\unity-platformer\unit-test-results.xml")
deploy: off

#cache:
Expand Down

0 comments on commit a679b13

Please sign in to comment.