I don't want to run all CIs locally

This commit is contained in:
Takashi Kokubun 2015-03-16 00:55:25 +09:00
parent cc0f54b812
commit 0d3a41b562
2 changed files with 13 additions and 10 deletions

View File

@ -48,15 +48,18 @@ class Benchmarks
def run_hamlit; #{Hamlit::Engine.new.call @haml_code}; end
}
bench('erubis') { context.run_erubis }
bench('slim') { context.run_slim_ugly }
bench('fast_haml') { context.run_fast_haml }
bench('tenjin') { context.run_tenjin }
bench('fast erubis') { context.run_fast_erubis }
bench('temple erb') { context.run_temple_erb }
bench('erb') { context.run_erb }
bench('hamlit') { context.run_hamlit }
bench('haml') { context.run_haml_ugly }
bench('erubis') { context.run_erubis }
bench('slim') { context.run_slim_ugly }
bench('fast_haml') { context.run_fast_haml }
bench('hamlit') { context.run_hamlit }
if ENV['ALL']
bench('tenjin') { context.run_tenjin }
bench('fast erubis') { context.run_fast_erubis }
bench('temple erb') { context.run_temple_erb }
bench('erb') { context.run_erb }
bench('haml') { context.run_haml_ugly }
end
end
def run

View File

@ -32,4 +32,4 @@ build:
- script:
name: run benchmarks
code: bundle exec rake bench
code: ALL=true bundle exec rake bench