summaryrefslogtreecommitdiff
path: root/ci/jenkins_run_tests.bat
blob: 9483952f0eb3358b289791fe34801f41baf55344 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ruby -v

call bundle check

if %ERRORLEVEL% NEQ 0 (
   call rm Gemfile.lock
   call bundle install --without docgen --path vendor/bundle
)

bundle exec rspec -r rspec_junit_formatter -f RspecJunitFormatter -o test.xml -f documentation spec

set RSPEC_ERRORLVL=%ERRORLEVEL%
REM Return the error level from rspec
exit /B %RSPEC_ERRORLVL%