diff --git a/.travis.yml b/.travis.yml index 82ab03e..837ef70 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ matrix: include: - os: linux rvm: 2.3.5 + gemfile: Gemfile.ruby.lower.than.2.4 env: ATOM_CHANNEL=stable - os: linux @@ -27,7 +28,7 @@ env: - APM_TEST_PACKAGES="language-haml" install: - - gem install --no-document haml_lint + - bundle install before_script: - haml-lint --version diff --git a/Gemfile.ruby.lower.than.2.4 b/Gemfile.ruby.lower.than.2.4 new file mode 100644 index 0000000..f45e2d9 --- /dev/null +++ b/Gemfile.ruby.lower.than.2.4 @@ -0,0 +1,4 @@ +source 'https://rubygems.org' + +# last version with support for ruby < 2.4 +gem 'haml_lint', '0.28.0'