<commit_before>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<commit_msg>Drop benchmark to show on rubykaigi<commit_after>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/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/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
{'fraction_non_alphanumeric': 0.10007358351729213, 'fraction_numerical': 0.012754476330635272, 'mean_word_length': 4.518267929634641, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1137434', 'n_tokens_mistral': 1509, 'n_tokens_neox': 1463, 'n_words': 186}