1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
haml--haml/wercker.yml
2015-11-27 02:10:27 +09:00

61 lines
2 KiB
YAML

box: wercker/rvm
build:
steps:
- rvm-use:
version: 2.2.3
- script:
name: update bundler
code: gem update bundler
- bundle-install
- script:
name: clone hamlit1
code: bin/clone
- script:
name: test all
code: bundle exec rake test
- script:
name: Hamlit::AttributeBuilder.build_id micro benchmark
code: benchmark/ext/build_id.rb
- script:
name: "[benchmark] static attributes"
code: bin/bench bench -t benchmark/boolean_attribute.haml benchmark/class_attribute.haml benchmark/id_attribute.haml benchmark/data_attribute.haml benchmark/common_attribute.haml
- script:
name: "[benchmark] dynamic attributes"
code: bin/bench bench -t benchmark/dynamic_attributes/boolean_attribute.haml benchmark/dynamic_attributes/class_attribute.haml benchmark/dynamic_attributes/id_attribute.haml benchmark/dynamic_attributes/data_attribute.haml benchmark/dynamic_attributes/common_attribute.haml
- script:
name: "[benchmark] plain text"
code: bin/bench bench -t benchmark/plain.haml
- script:
name: "[benchmark] script"
code: bin/bench bench -t benchmark/script.haml
- script:
name: "[benchmark] attribute_builder bench by faml"
code: bin/bench bench -t benchmark/etc/attribute_builder.haml
- script:
name: "[benchmark] slim-template/slim/benchmarks"
code: bundle exec ruby benchmark/slim/run-benchmarks.rb
- script:
name: "[benchmark] static analyzer"
code: bin/bench bench -t benchmark/etc/static_analyzer.haml
- rvm-use:
version: 2.1.7
- script:
name: update bundler
code: gem update bundler
- bundle-install
- script:
name: test all
code: bundle exec rake test
- rvm-use:
version: 2.0.0
- script:
name: update bundler
code: gem update bundler
- bundle-install
- script:
name: test all
code: bundle exec rake test