Skip to content

Commit

Permalink
Adding JUnit reports.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasnoble committed Sep 22, 2017
1 parent 12067cc commit 5d1d1f1
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions run-tests.bat
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,23 @@ nvm use 8.5.0

call npm install || goto :error

SET JUNIT_REPORT_STACK=1
SET FAILED=0

for %%v in (4.8.4 6.11.3 7.9.0 8.5.0) do (
nvm install %%v
nvm use %%v
node -e "console.log(process.versions)"

call .\node_modules\.bin\gulp clean.all || goto :error
call .\node_modules\.bin\gulp setup.windows || goto :error
call .\node_modules\.bin\gulp native.test || goto :error
)
SET JUNIT_REPORT_PATH=reports/node%%v/

if %errorlevel% neq 0 exit /b %errorlevel%
call .\node_modules\.bin\gulp clean.all || SET FAILED=1
call .\node_modules\.bin\gulp setup.windows || SET FAILED=1
call .\node_modules\.bin\gulp native.test || SET FAILED=1
)

if %FAILED% neq 0 exit /b 1
node merge_kokoro_logs.js
goto :EOF

:error
Expand Down

0 comments on commit 5d1d1f1

Please sign in to comment.