Skip to content
Permalink
Browse files

Run benchmark on travis.

  • Loading branch information...
JuanitoFatas committed Oct 25, 2014
1 parent 716db72 commit 3b273d8902a3fccbc3db53d26c2ea34c1b00719c
Showing with 32 additions and 0 deletions.
  1. +18 −0 .travis.yml
  2. +5 −0 Gemfile
  3. +9 −0 Rakefile
@@ -0,0 +1,18 @@
before_script: gem update --system 2.4.0
bundler_args: --without development
language: ruby
rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2
- ruby-head
- jruby
- rbx-2
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby
- rvm: rbx-2
fast_finish: true
sudo: false
@@ -0,0 +1,5 @@
source 'https://rubygems.org'

gem 'benchmark-ips', '>= 2.0'

gem 'rake'
@@ -0,0 +1,9 @@
desc 'run benchmark in current ruby'
task :run_benchmark do
Dir.glob('code/**/*.rb').each do |benchmark|
puts "$ ruby -v #{benchmark}"
system('ruby', '-v', benchmark)
end
end

task default: :run_benchmark

0 comments on commit 3b273d8

Please sign in to comment.
You can’t perform that action at this time.