Skip to content

Commit

Permalink
Rails 5 runs on Ruby >= 2.2.2 - added this dependency to the Gemfile …
Browse files Browse the repository at this point in the history
…and to the Travis build matrix. Added more Ruby and Rails versions for testing.
  • Loading branch information
texpert committed Jul 5, 2016
1 parent ef73525 commit 6260571
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ rvm:
- 2.0.0
- 2.1.0
- 2.2.0
- 2.2.2
- 2.2.3
- 2.2.4
- 2.2.5
- 2.3.0
- 2.3.1
env:
Expand All @@ -17,6 +21,7 @@ env:
- rails=4.2.0 grape=0.11.0 doorkeeper=3.1.0
- rails=4.2.0 grape=0.13.0 doorkeeper=3.1.0
- rails=4.2.0 grape=0.14.0 doorkeeper=3.1.0
- rails=4.2.6 grape=0.16.2 doorkeeper=3.1.0
- rails=5.0.0 grape=0.16.2 doorkeeper=4.0.0
addons:
code_climate:
Expand All @@ -25,3 +30,11 @@ notifications:
hipchat:
rooms:
secure: SUWenlDzlDbpryO1QzD+rN4MxIBpAAzwsFqnnkyRQ11thRVdvKuT2TUd+RlYImLXDNkvNjqmpXh7mihtcro9g8unR3nF1UKbuAPIv2kCklsio0jAnjVn7+h1l56hsa90Jy9t/YpKtoLx2QNWLz70n8VrtGJMAt53T6tZdgNUp58=
matrix:
exclude:
- rvm: 2.0.0
env: rails=5.0.0 grape=0.16.2 doorkeeper=4.0.0
- rvm: 2.1.0
env: rails=5.0.0 grape=0.16.2 doorkeeper=4.0.0
- rvm: 2.2.0
env: rails=5.0.0 grape=0.16.2 doorkeeper=4.0.0
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ ENV['grape'] ||= '0.16.2'
ENV['rails'] ||= '5.0.0'
ENV['doorkeeper'] ||= '4.0.0'

ruby '>=2.2.2' if ENV['rails'][0].to_i > 4

gem 'rails', ENV['rails']

gem 'activerecord'
Expand Down

0 comments on commit 6260571

Please sign in to comment.