Skip to content

Commit

Permalink
Have Travis test against ActiveSupport 5 & 6
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenharman committed Jan 22, 2020
1 parent d05eca5 commit edb859f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ rvm:
- 2.5
- 2.4
env:
- SINATRA_MAJOR=1
- SINATRA_MAJOR=2
- ACTIVESUPPORT_MAJOR=5 SINATRA_MAJOR=1
- ACTIVESUPPORT_MAJOR=5 SINATRA_MAJOR=2
- ACTIVESUPPORT_MAJOR=6 SINATRA_MAJOR=1
- ACTIVESUPPORT_MAJOR=6 SINATRA_MAJOR=2
cache: bundler
before_install:
- gem update --system
Expand Down
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
source "https://rubygems.org"

gemspec
gem 'sinatra', "~> #{ENV["SINATRA_MAJOR"] || 2}.x"
gem "activesupport", "~> #{ENV["ACTIVESUPPORT_MAJOR"] || 6}.x"
gem "sinatra", "~> #{ENV["SINATRA_MAJOR"] || 2}.x"

0 comments on commit edb859f

Please sign in to comment.