Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
Fix travis ruby < 2.4 build
Browse files Browse the repository at this point in the history
haml_lint dropped support for ruby < 2.4 at 0.29.0, so use that Gemfile
when testing that version
  • Loading branch information
jormon committed Dec 29, 2019
1 parent 82d0c5c commit 03eef8e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -27,7 +28,7 @@ env:
- APM_TEST_PACKAGES="language-haml"

install:
- gem install --no-document haml_lint
- bundle install

before_script:
- haml-lint --version
Expand Down
4 changes: 4 additions & 0 deletions Gemfile.ruby.lower.than.2.4
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source 'https://rubygems.org'

# last version with support for ruby < 2.4
gem 'haml_lint', '0.28.0'

0 comments on commit 03eef8e

Please sign in to comment.