Skip to content

Commit

Permalink
chore: Add Travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
toupeira committed Oct 5, 2016
1 parent 8169c2d commit fcd5f62
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
sudo: false
language: ruby
cache: bundler

before_install:
- gem update bundler

before_script:
- bundle update

script:
- bundle exec rake spec

env:
- rails=4.2.0
- rails=5.0.0

rvm:
- 2.1
- 2.2.5
- 2.3.1

matrix:
exclude:
- env: rails=5.0.0
rvm: 2.1
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
ENV['rails'] ||= '5.0.0'

source 'https://rubygems.org'

# use Rails version specified by environment
gem 'rails', "~> #{ENV['rails']}"

gemspec
1 change: 0 additions & 1 deletion doorkeeper-openid_connect.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,5 @@ Gem::Specification.new do |spec|

spec.add_development_dependency 'rspec-rails'
spec.add_development_dependency 'factory_girl'
spec.add_development_dependency 'rails'
spec.add_development_dependency 'sqlite3'
end

0 comments on commit fcd5f62

Please sign in to comment.