Skip to content

Commit

Permalink
Set TEST_JUNIT_XML_PATH and upload results on AppVeyor
Browse files Browse the repository at this point in the history
  • Loading branch information
smashwilson committed Aug 1, 2017
1 parent 37842fd commit 3e581d4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ platform:
environment:
global:
ATOM_DEV_RESOURCE_PATH: c:\projects\atom
TEST_JUNIT_XML_PATH: c:\projects\atom\junit-results.xml

matrix:
- NODE_VERSION: 6.9.4
Expand All @@ -39,6 +40,9 @@ test_script:
- script\test.cmd

after_test:
- ps: |
$wc = New-Object 'System.Net.WebClient'
$wc.UploadFile("https://ci.appveyor.com/api/testresults/xunit/$($env:APPVEYOR_JOB_ID)", $env:TEST_JUNIT_XML_PATH)
- IF [%APPVEYOR_REPO_BRANCH:~-9%]==[-releases] (
IF NOT EXIST C:\sqtemp MKDIR C:\sqtemp
SET SQUIRREL_TEMP=C:\sqtemp
Expand Down

0 comments on commit 3e581d4

Please sign in to comment.