1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
haml--haml/.travis.yml
2015-12-11 14:59:52 +09:00

41 lines
2 KiB
YAML

language: ruby
sudo: false
cache: bundler
branches:
only:
- master
script:
- "bundle exec rake $TASK"
matrix:
include:
- rvm: 2.0.0
env: TASK=test
- rvm: 2.1
env: TASK=test
- rvm: 2.2
env: TASK=test
- rvm: 2.2
env: TASK=bench TEMPLATE=benchmark/dynamic_boolean_attribute.haml
- rvm: 2.2
env: TASK=bench TEMPLATE=benchmark/boolean_attribute.haml,benchmark/class_attribute.haml,benchmark/id_attribute.haml,benchmark/data_attribute.haml,benchmark/common_attribute.haml
- rvm: 2.2
env: TASK=bench TEMPLATE=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
- rvm: 2.2
env: TASK=bench SLIM_BENCH=1
- rvm: 2.2
env: TASK=bench TEMPLATE=benchmark/etc/attribute_builder.haml
- rvm: 2.2
env: TASK=bench TEMPLATE=benchmark/etc/static_analyzer.haml
- rvm: 2.2
env: TASK=bench TEMPLATE=benchmark/etc/string_interpolation.haml
- rvm: 2.2
env: TASK=bench TEMPLATE=test/haml/templates/standard.haml COMPILE=1
allow_failures:
- env: TASK=bench TEMPLATE=benchmark/dynamic_boolean_attribute.haml
- env: TASK=bench TEMPLATE=benchmark/boolean_attribute.haml,benchmark/class_attribute.haml,benchmark/id_attribute.haml,benchmark/data_attribute.haml,benchmark/common_attribute.haml
- env: TASK=bench TEMPLATE=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
- env: TASK=bench SLIM_BENCH=1
- env: TASK=bench TEMPLATE=benchmark/etc/attribute_builder.haml
- env: TASK=bench TEMPLATE=benchmark/etc/static_analyzer.haml
- env: TASK=bench TEMPLATE=benchmark/etc/string_interpolation.haml
- env: TASK=bench TEMPLATE=test/haml/templates/standard.haml COMPILE=1