-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
27 lines (27 loc) · 882 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
language: ruby
rvm:
- 2.0.0
- 2.6.5
cache:
bundler: true
directories:
- wrk
before_install:
- test -d wrk/.git || git clone https://github.com/wg/wrk.git
- test -f wrk/wrk || make -C wrk
- export PATH="$PWD/wrk:$PATH"
install:
- bundle install
env:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
script:
# Unit tests
- bundle exec ruby test/bench_lib_test.rb
- bundle exec ruby test/subprocess_interface_test.rb
# Test that the current_ruby_cli.rb runner works and can run benchmarks
- runners/current_ruby_cli.rb -h
- runners/current_ruby_cli.rb --benchmark-seconds 5 rack webrick
- runners/current_ruby_cli.rb --benchmark-seconds 5 rails webrick
- runners/current_ruby_cli.rb --benchmark-seconds 5 rack puma
- runners/current_ruby_cli.rb --benchmark-seconds 5 rails puma
- ./process.rb -c RUBY_DESCRIPTION,server_cmd,timestamp -i 'data/rsb_*.json'