language: ruby cache: bundler branches: only: - master script: - bundle exec rake $TASK env: - RUBYOPT='-w' matrix: include: - rvm: 2.3.8 env: TASK=test - rvm: 2.4.9 env: TASK=test - rvm: 2.5.7 env: TASK=test - rvm: 2.6.5 env: TASK=test - rvm: 2.7.0 env: TASK=test - rvm: 2.7.0 env: TASK=test RUBYOPT='-w --enable-frozen-string-literal' - rvm: ruby-head env: TASK=test - rvm: jruby-9.2.8.0 env: TASK=test - rvm: truffleruby env: TASK=test - rvm: 2.7.0 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.7.0 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.7.0 env: TASK=bench SLIM_BENCH=1 - rvm: 2.7.0 env: TASK=bench TEMPLATE=benchmark/etc/attribute_builder.haml - rvm: 2.7.0 env: TASK=bench TEMPLATE=benchmark/etc/static_analyzer.haml - rvm: 2.7.0 env: TASK=bench TEMPLATE=benchmark/etc/string_interpolation.haml - rvm: 2.7.0 env: TASK=bench TEMPLATE=test/haml/templates/standard.haml COMPILE=1 allow_failures: - rvm: ruby-head env: TASK=test - 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