blob: 48336da7b1c5469f7a4dd82af0ae3b35554899a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
ruby -v
call bundle check
if %ERRORLEVEL% NEQ 0 (
call rm Gemfile.lock
call bundle install --without docgen
)
bundle exec rspec -r rspec_junit_formatter -f RspecJunitFormatter -o test.xml -f documentation spec
set RSPEC_ERRORLVL=%ERRORLEVEL%
set RSPEC_ERRORLVL=%ERRORLEVEL%
REM Return the error level from rspec
exit /B %RSPEC_ERRORLVL%
|