# Ruby # Package your Ruby project. # Add steps that install rails, analyze code, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/languages/ruby pool: vmImage: 'vs2017-win2016' variables: UNIT_TEST: true steps: - task: UseRubyVersion@0 inputs: versionSpec: '>= 2.5' - script: gem install bundler displayName: 'Install bundler' - script: bundle install --retry=3 --jobs=4 displayName: 'Call bundle install' - script: gem uninstall --force eventmachine && gem install eventmachine --platform ruby displayName: 'bundle re-install eventmachine for Windows because of Windows environment issue' - script: bundle exec parallel_test test/unit/ -n 4 displayName: 'bundle exec parallel_test test/unit/ -n 4'