mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
38 lines
1.5 KiB
YAML
38 lines
1.5 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: "[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
|