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 7, 2019
1 parent 579af63 commit 013ede6
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ after_script:
- bundle exec rake coveralls:push

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

0 comments on commit 013ede6

Please sign in to comment.