summaryrefslogtreecommitdiff
path: root/ci/jenkins_run_tests.bat
blob: ba9cedd5e22ceafd83119949a3d6ef23ef6db5a0 (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/functional spec/unit spec/stress spec/integration

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