Skip to content

Commit

Permalink
Merge pull request #318 from dmathieu/tests-sinatra1
Browse files Browse the repository at this point in the history
Run tests using sinatra 1 as well as sinatra 2
  • Loading branch information
gudmundur authored Nov 22, 2017
2 parents 51ee665 + 86720e8 commit 704cd0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ rvm:
- 2.4.0
- 2.3.3
- 2.2.2
env:
- SINATRA_MAJOR=1
- SINATRA_MAJOR=2
addons:
postgresql: '9.3'
before_install:
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
source "https://rubygems.org"

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

0 comments on commit 704cd0e

Please sign in to comment.