Skip to content

Commit

Permalink
travis Ruby version and bundler error: bundler requires Ruby version …
Browse files Browse the repository at this point in the history
…>= 2.3.0
  • Loading branch information
Shekharrajak committed Jan 10, 2019
1 parent 5c90bd9 commit d6de271
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ after_script:
- bundle exec rake coveralls:push

install:
- gem install bundler
- if [ $TRAVIS_RUBY_VERSION == '2.2' || $TRAVIS_RUBY_VERSION == '2.1' || $TRAVIS_RUBY_VERSION == '2.0']; then
echo $TRAVIS_RUBY_VERSION
gem install bundler -v '~> 1.6'
else
gem install bundler
fi
- gem install rainbow -v '2.2.1'
- bundle install

0 comments on commit d6de271

Please sign in to comment.