Skip to content

Commit

Permalink
Add Rails 6 to TravisCI build. (#510)
Browse files Browse the repository at this point in the history
* Add Rails 6 to build matrix.

* Specify beta for Rails 6.
  • Loading branch information
lcreid authored Jan 26, 2019
1 parent ea55335 commit de99bb6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@ script:

matrix:
include:
# Bleeding edge
# Bleeding edge Ruby
- rvm: ruby-head
gemfile: test/gemfiles/5.2.gemfile

# Next version of Rails
- rvm: 2.5.0
gemfile: test/gemfiles/6.0.gemfile

# Running one job to execute DANGER bot and linting
- rvm: 2.5.0
gemfile: test/gemfiles/5.2.gemfile
Expand All @@ -30,3 +34,5 @@ matrix:

allow_failures:
- rvm: ruby-head
- rvm: 2.5.0
gemfile: test/gemfiles/6.0.gemfile
17 changes: 17 additions & 0 deletions test/gemfiles/6.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
source "http://rubygems.org"

gemspec path: "../../"

gem "rails", "~> 6.0.0.beta1"

group :development do
gem "rubocop", require: false
end

group :test do
gem "diffy"
gem "equivalent-xml"
gem "mocha"
gem "sqlite3"
gem "timecop", "~> 0.7.1"
end

0 comments on commit de99bb6

Please sign in to comment.